Development
This page covers some development related topic
Last updated
This page covers some development related topic
Last updated
When working on the project using Visual Studio Code, it is really worth it to install the Jest extension. The unit tests are run in the background and error messages show up while writing the tests.
Node.js is required to run the application unit tests.
Some of the routes should be public, others should be protected (available to authenticated users only).
Solution using react-router-dom (the same dude has written an article).
The was created using creact-react-app and is using the typescript template following this tutorial.
The app is hosted on Netlify.
I start using enzyme so that I can find elements easily in the unit tests.
Note: lors du déploiement d’une SPA sur Netlify il faut activer le routage du coté client comme suit : https://create-react-app.dev/docs/deployment/#netlify
https://www.npmjs.com/package/react-circular-progressbar is used to render a custom progress bar in the home page.