Skip to content
No description, website, or topics provided.
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
mock
public
src
.editorconfig
.eslintrc move pages to page folder + move conf file to root Aug 7, 2018
.gitignore
.prettierrc
LICENSE
README.md
package-lock.json
package.json

README.md

Frontend de l'outil d'habilitation des API api.gouv.fr

⚠️ This project is not a standalone yet. For now, it needs the private signup-ansible repository to work.

The backend code can be found here.

Usage statistics

This project uses Matomo to report usage statistics. To use your Matomo credentials to the app, pass them as environment variables

PIWIK_URL=http://mywebsite.domain
PIWIK_SITE_ID=123456789

If you don't use Matomo, pass:

PIWIK_URL=''
PIWIK_SITE_ID=''

The usage of this project can be seen on http://www.stats.data.gouv.fr

How to enroll a new API

Here are the files you need to create :

  • src/pages/NameOfApi.js (describe all the information to generate the new form)

Here are the files you need to update :

  • src/App.js (declare new route to access the api form)
  • src/lib/api.js (declare API Labels in TARGET_API_LABELS)
  • (optional) src/lib/utils.js (L~38) (declare valid naf code)

License

MIT

Powered by:

You can’t perform that action at this time.