This project allows you to make and manage melon tasting reservations. 🍉
The following pieces of software are necessary before installing project dependencies and running the application. If you already have these installed, you can skip to the Setup section
/usr/bin/ruby -e "\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Python3
brew install python3Node
brew install nodeYarn
npm install --global yarnRun yarn install to install Javascript dependencies.
The first time you run this project, create a Python virtual environment
using python3 -m venv env.
Each time you want to run the server, activate the virtual environment
with source env/bin/activate. Then install dependencies using
pip3 install requirements.txt.
In separate terminal tabs, run:
yarn js-start
yarn py-startOpen http://localhost:3000 to view the application in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
In the project directory, you can run:
Runs the frontend in development mode.
Runs the Python server. Make sure you follow the setup instructions to install the backend dependencies before running this.
Builds the app for production to the build folder.
It 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!
The application is deployed using Heroku. For production, the Flask server serves the pre-compiled and optimized frontend build.
If new frontend changes need to be deployed, run yarn build before deploying.
To deploy, run git push heroku main (you will need to set up Heroku access first).
The deployed application can be found at https://melon-reservations.herokuapp.com/.