The server will run locally on http://localhost:3001
URL Path | Verb | Required Data | Sample Response (Happy Path) |
---|---|---|---|
/api/v1/reflections |
GET | N/A | {reflections: [{reflection:<String>, date: <String>, mood: <String>, id: <Number>}, {...}, ...] } |
/api/v1/reflections |
POST | { reflection: <String>, modd: <String>} |
{newReflection: {reflection:<String>, date: <String>, mood: <String>, id: <Number>} |