/SimonGame

Simon Game

Primary LanguageJavaScript

Simon Game built using the MERN stack (MongoDB, Express, React, and Node.js).

Project structure

├── 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

Local Usage

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

Badges

React Redux JavaScript MUI Styled Components NodeJS MongoDB Mongoose Express.jsHeroku