Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

montessori-ressources/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Montessori API

This project is now archived: the backend of Montessori-Ressources project is managed by Firebase. The frontend application have been modified to handle Firebase calls. Firebase is now handling storage, data, authentication and even frontend hosting.

Develop on this project

You must provide the needed environement variables to access AWS S3 bucket, and Google/Facebook authentification scret keys. For that you must copy the existing .env.default to .env and provide the correct information inside the file.

More info here

Then run:

docker run --name mongo -p27017:27017 -d mongo # for a quick mongo via docker
yarn install
yarn develop

Endpoints

Documented on /api-docs/ via Swagger.

Test with httpies

List nomenclatures

http :3000/v1/nomenclatures

Post a new nomenclature with 2 images

http -f post :3000/v1/nomenclatures photos@test/data/1027-400x400.jpg photos@test/data/977-400x400.jpg

Releases

No releases published

Packages

No packages published