This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get /admin/posts/:id/ get single post | |
patch /admin/posts/:id/status | |
body { | |
status: status enum | |
} | |
get /admin/posts/ get all posts filtered | |
get /admin/posts/count get total posts filtered |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SimpleSchema from 'simpl-schema' | |
let EtudiantSchema = new SimpleSchema({ | |
apogee: !String, | |
cne: !String, | |
cin: !String, | |
nom: !String, | |
prenom: !String, | |
dateNaiss: !Date, | |
nationalité: !String, |