An app meant to handle simple contact information
person: {
name: string,
email: string,
address: string,
phone: string,
notes: [ {
dateCreated: date,
text: string
}]
}
organization: {
name: string,
address: string,
phone: string,
email: string,
people: [personId],
years: [numbers]
}
GET /peoplelists all the peoplePOST /peoplecreate a new person from the bodyDELETE /people/:iddelete the person with IDPUT /people/:idupdate person with new fields in body
GET /orgslists all the organizationsPOST /orgscreate a new org from the bodyDELETE /orgs/:iddelete the org with IDPUT /orgs/:idupdate org with new fields in bodyGET /orgs/:id/peoplelist the people associated with the orgPOST /orgs/:id/peopleadd the people with ids specified in the body to the orgDELETE /orgs/:id/peopledelete the people with ids specified in the body from the org
GET /export/dump/:yearreturns a csv for the year with all the people involved