Notice, you need client and server runs concurrently in different terminal session, in order to make them talk to each other
Make Sure to Create a .env file in client directory and add appropriate variables in order to use the app.
Essential Variables REACT_APP_API_URL= example: localhost:3001 REACT_APP_URL = example: localhost:/3000/
(You need to add something in .env, api url and other things)
$ cd client // go to client folder
$ yarn # or npm i // npm install packages
$ npm run start // run it locally
// deployment for client app
$ npm run start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site
$ cd server // go to server folder
$ npm i // npm install packages
$ npm run dev // run it locally
Email Me: [email protected]