The practical work of the Sfeir School React 200
These are the instructions to run the project.
- NodeJS version >= 10.13.x
- NPM version >= 6.7.x
git clone https://github.com/SugarDarius/react-game-store-200.git
This project is build wih nodejs.
You need to install the node modules with the following command :
npm install
These are differents commands availables for the project.
npm run develop -- [exerice-name]
Running the 3 commands below - if no args are provided then the app build only the splash screen (home)
npm run develop:api:serve
npm run develop:server:serve
npm run develop:client:build
The practical work is serve at : http://localhost:4010
The route http://localhost:4010/api is proxyfying to the http://localhost:5010.
Each exercices are contained in the src/ directory. For one exercice there is two directory :
- exercice-[xx]: sources where to write code to make the exercice
- exercice-[xx]-correction: sources where is the correction of the exercice
The API of the practical work is serve at : http://localhost:5010
- [GET] /api/games: get all games
- [GET] /api/game/:id: get a game
- [POST] /api/game: create a new game
- [PUT] /api/game/:id: update a game
- [DELETE] /api/game/:id: delete a game
A SwaggerUI is available at : http://localhost:5010/?url=http://localhost:5010/helpers/swagger.yaml
- Joris Moine --
- Aurélien Dupays Dexemple -- SugarDarius
This project is licensed under the MIT License - see the LICENSE file for details