This project is a MERN stack Othello Game
Tools | |
---|---|
Back | NodeJs / ExpressJS / Mongoose / Socket Io / Nodemon |
Front | React / Axios / React-bootstrap / Reversi /socket.io-client / Lodash.merge |
This project uses a mongoDb Atlas database, to use it, generate a .env file in the root folder. This file contains a MONGO_CONFIG_URL key with your atlas credentials
Clone this repo, run npm i in both root and othello-react folders
Then run npm run start
in the root folder
In the project directory, you can run:
Starts express and react servers
Open http://localhost:9000 to view it in the browser.
Launch the Api on http://localhost:8080
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the client test runner in the interactive watch mode.
See the section about running tests for more information.
Launches the server tests
Launches the tests on both sides
Shows the test coverage on client side
Shows the test coverage on server side
Shows the test coverage on both sides
Tests coverage | |
---|---|
Back/ controllers | 50% |
Front/ src/ components | 77% |
Launches the client linter
Launches the server linter
Launches the linter on both sides