- Go to the
backendfolder, and runinstall_deps.batto install all the dependencies. - Then navigate into the
srcfolder, and runrun.bat. It will start an express API server onlocalhost:5000 - Go to the
frontendfolder, and runinstall_deps.batto install all the dependencies. - Edit
config.jsonin the folder to suit your needs, and finally, runrun.batto 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_modulesfolder 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 createorheroku 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