In order to set up the repo and be able to develop, do the following:
- Install
nvm
(Node Version Manager). If you're using Windows, go here - Run
nvm install 14.15.1
- Run
nvm use 14.15.1
(You are now using node v14.15.1) cd
inside both./back-end
and./front-end
and perform annpm install
- Change
./back-end/.env
file according to your settings.
Important: NEVER push .env or automatically generated files (e.g. React's builds) to the repo.
- From inside
/back-end
, runnpm run dev
. - From inside
/front-end
, runnpm run start
. - Your application should be running.
- You can see the UI in http://localhost:3000
- You can call the API through http://localhost:5000