- Make sure you have Node and npm installed and just run:
npm install
- To start the server run
npm start
- In the client folder you'll find the Minesweeper client, which consists of a bunch of methods.
- Each of those methods returns a promise to be resolved with the data of the response to the request.
- It uses axios to make http requests.
- Most important component is the
Game
one. - It fetches the game and render the cells. The cells are distributed using the grid display from css.
- The user uuid is stored in the local storage after the user is created at sign up.
- If logout is clicked, then the uuid will be removed from the local storage.
- Login feature (with an existing user) TODO
TODO 😜