Demo: https://bdrigueshotelbookings.herokuapp.com/
The objective of this project was to create a game using React and NodeJS + MongoDB on the backend to maintain all the logic of the game. Every crucial interaction of the game is performed on the backend with a database, including the inventory system, making the game safer against cheating.
npm install
cd ../backend
pipenv install
Project setup.
npm run serve
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
python manage.py makemigrations
python manage.py migrate
Backend db setup
python manage.py runserver
Runs the app in the development mode.