OpenClassrooms-Student-Center / SportSee

Code for project 9 of the front-end path: a sports analytics dashboard.
6 stars 667 forks source link

SportSee

This repo contains all the source code to run the micro API for the sports analytics dashboard SportSee.

1. General information

To start this project, you are free to use Docker or not. In this documentation, we will see several methods to launch the project easily.

2. Project (without Docker)

2.1 Prerequisites

If you are working with several versions of NodeJS, we recommend you install nvm. This tool will allow you to easily manage your NodeJS versions.

2.2 Launching the project

3. Project (with Docker)

2.1 Prerequisites

2.2 Starting the project

2.3 Vscode and container remotes

Finally, if you have VsCode, you can easily launch your project in a docker environment.

You will need the Remote Development extension. Once you have this extension installed, just click on the Reopen in Container button.

Once in the container, run the yarn dev command.

4. Endpoints

4.1 Possible endpoints

This project includes four endpoints that you will be able to use:

Warning, currently only two users have been mocked. They have userId 12 and 18 respectively.

4.2 Examples of queries