Chess insights drawn by analyzing Chess.com games of a player.
- Install MongoDB onto your computer: Installation Instructions
- Add a .env file to the
server
directory. Inside add:
MONGO_URL = <url-to-your-mongo-db>
PORT=5001
- Install all the dependencies using:
npm i
- Uncomment the part in
server/index.js
that talks about importing data. After the first run of the server, make sure to re-comment this.
https://github.com/nikhil-ravi/MERN-admin-dashboard/blob/cd695792df1ee7c10d68a404d15008c48b5b0dbd/server/index.js#L57-L62 - Move into your client directory and install all of their dependencies:
npm i
- Add a .env.local file to the
client
directory. Inside add:
REACT_APP_BASE_URL=http://localhost:5001
- Open up two terminals and run these commands:
cd server
npm run dev
cd client
npm run start
- This should automatically open react, it may take a while to load...