Generic project with React frontend, Node backend and MongoDB as database
Upgrade Heroku-18 stack to Heroku-22
Next command installs required NPM packages for both, backend and frontend
npm inst-dev
Don't forget to set environment variables in /back/.env
file
- In the project directory, you can run for a concurrent instance of server and client:
npm run start-dev
- Or next one to run only the frontend app in the development mode.
npm run client
Open http://localhost:3000 to view it in the browser.
- Launches the app server in the development mode.
npm run server
Served at http://localhost:5000.