The Final Space API is a RESTful API based on the television show Final Space. All the data is taken from Final Space wiki.
final-space-api
├───backend
│ ├───config
│ ├───controllers
│ ├───images
│ ├───models
│ └───routes
└───frontend
├───blog
├───docs
├───src
│ ├───css
│ └───pages
└───static
└───img
First, Clone this repo. Both frontend and backend need to be installed seperately.
For frontend run the following commands.
cd frontend
npm install
npm run buildIt is important that frontend is installed first and a build directory is created since the backend serves this build folder.
For backend run the following commands.
cd backend
npm installRun the following command in backend directory to start the development server at PORT=8000 by default.
cd backend
npm run devThis will start the development server at http://localhost:8000.
If build folder doen't exist you will see an error at the baseURL i.e. /. Create the build folder to fix this issue.
`
