This Frontend project is created with Create React App. It is an analytics dashboard with a separately frontend part and a backend part. The application is developed with Node.js version 16.14.2 and React version 18.2.0.
-
To test this web application, you need fist to clone the backend application from https://github.com/charlenry/P12-backend-api. Then go to the folder where the
package.json
file is located and run in a terminal the commandyarn install
to install all dependencies from the package.json file. After that, you can run the commandyarn start
on a terminal and it will start on theport 3000
. -
Afterwards, clone this projet (not in the folder of the previous cloned project). Then go to the folder where the package.json file is located and run in an other terminal the command
yarn install
. When finished, run the commandyarn start
. The application will saySomething is already running on port 3000. Would you like to run the app on another port instead? » (Y/n)
. Just typey
and it will open your browser at the address http://localhost:3001/CharlesHenriSaintMars_12_022023/build. -
If the API server (the backend) is not available, this web application can still work with embedded local data. Just run the command
yarn start
. Then it will open your browser at the address http://localhost:3000/CharlesHenriSaintMars_12_022023/build. -
The JSDoc is accessible at the address https://charlenry.github.io/CharlesHenriSaintMars_12_022023/docs/.