Ce projet à pour objectif de faciliter les discussions autour des fichiers échangés entre les parties prenantes du secteur de l'insertion.
Il permet d'afficher certaines informations résumées sur les flux échangés.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To add a new feature you have to create a pull request against the main
branch.
Once it has been merged, pull the changes locally on the main
branch and run:
npm run deploy
# or
yarn deploy
The added changes will then be visible on https://betagouv.github.io/analyse-flux-insertion/.
Some pages are targetting demo environments of RDV-Solidarités
. Since this application does not have a staging environment, we have pages targetting the demo env and pages targetting the prod env.
Once the changes are tested on the demo env, you can apply them to the pages targetting the production environments by running:
npm run apply-to-production-pages
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!