Install all required api
server dependencies
cd ./api
npm install
Start a mongodb
instance and seed the database
npm run seed
Then start the express server
npm start
Now open another terminal window, navigate back to the react client
and install dependencies
cd ../client
npm install
And finally start the React development client
npm start
- React project created with
create-react-app
located within./client
- A REST API contained in the folder
./api
- Supports CORS