- Go to the
backend
folder, and runinstall_deps.bat
to install all the dependencies. - Then navigate into the
src
folder, and runrun.bat
. It will start an express API server onlocalhost:5000
- Go to the
frontend
folder, and runinstall_deps.bat
to install all the dependencies. - Edit
config.json
in the folder to suit your needs, and finally, runrun.bat
to start the frontend server. - Enjoy :)
- Download the heroku CLI
- Download Git (Make sure to 'add to PATH')
- Once downloaded, open up your terminal and type
heroku login
- Make a new file called
Procfile
(with no extension) and in that file, typeweb: node index.js
- Make sure to change the port of your express API to
process.env.PORT
- You must have the
node_modules
folder when deploying. - Open a new terminal and navigate to the directory with the API in it.
- Type
git init
- Type
git add .
- Type
git commit -m "{anything you want, or you could just leave this as is}"
- Type
heroku create
orheroku create {any name you would like to choose}
- Finally, type
git push heroku main
, if that doesn't work typegit push heroku master
Simply click the button below