├── client
│ ├── public
│ │ ├── index.html
│ ├── src
│ ├── package.json
│ ├── .env ->create your own
├── server
│ ├── models
│ ├── routes
│ ├── index.js
│ ├── package.json
│ ├── .env ->create your own
│ ├──Procfile -> heroku start
To start the client, go to the client
directory:
create .env
file:
REACT_APP_BASE_URL= http://localhost:5000/ (for example)
then run:
npm start
To start the server side, go to server
directory:
create .env
file :
MONGO_URL=mongodb+srv://user:password@sqlauthority.5s3yxjh.mongodb.net/simonGame?retryWrites=true&w=majority
PASS_SEC= decode
JWT_SEC=decode
CLIENT_ORIGIN= http://localhost:3000/ (for example)
then run:
npm start