https://github.com/dataesr/curiexplore-api
https://github.com/dataesr/curiexplore-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dataesr/curiexplore-api
- Owner: dataesr
- License: mit
- Created: 2021-04-12T13:34:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T14:15:53.000Z (over 4 years ago)
- Last Synced: 2025-09-11T10:49:52.240Z (9 months ago)
- Language: JavaScript
- Size: 792 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# curieXplore-paysage
API link between CurieXplore and data from Paysage
## Start with docker
### Dev
```
$ npm run start:docker:dev
```
Visit [http://localhost:3000/api](http://localhost:3000/api)
### Prod
```
$ npm run start:docker:prod
```
Visit [http://localhost:3030/api](http://localhost:3030/api)
## Access
### API Routes
#### GET /load-countries
Load all countries/categories in mongodb
#### GET /paysage/[iso_code]
Access to one country's data
### Mongo express
Visit [http://localhost:8081](http://localhost:8081)