The purpose of this project is to create a new user profile page. For Sportsee, a young sport coaching startup.
With this page, the user will be able to follow his sessions number and burned calories number.
To get user data, this application had to communicate with this API (https://github.com/OpenClassrooms-Student-Center/P9-front-end-dashboard).
User stories : https://openclassrooms.notion.site/Tableau-de-bord-SportSee-6686aa4b5f44417881a4884c9af5669e
Résolution: 1024px by 780px
Prettier → better code readability
React → Techno required
Charts set up with https://react-chartjs-2.js.org/ and https://www.chartjs.org/docs/latest/
PropTypes → to type components and reduce errors
React-router-dom → for the routing
Sass → for the style
Reminder: For the project works correctly, you must also install the api.
Clone the API locally
git clone https://github.com/cymard/p12-sportsee-api.gitGo to the project directory
cd p12-sportsee-apiInstall dependencies
npm installStart the API
npm run startClone the project locally
git clone https://github.com/cymard/P12-SportSee-React.gitGo to the project directory
cd P12-SportSee-ReactInstall dependencies
npm installGo to config.js and set apiUrl
const config = {
apiUrl: 'http://example:port/'
};Start the Project
npm run startGo to http://localhost:3000/home/12 to test the project.