- Document the API
- Request checker behaves abnormally towards malformed requests
- Implement OAuth via middleware
- username: string
- email: string
- hash: string
- id: int
- text: string
- tags: string[]
- id: int
- text: string
Create the nodes first and then add the relationship separately
- on: datetime
- on: datetime
API Listener - Query Controller - DB Connector
- GET: /api - test api
- GET: /api/user/:username - gets user details
- POST: /api/user - create a new user
- GET: /api/feed - gets array of rants
- GET: /api/rant - gets a rant and it's comments
- POST: /api/rant - create a new rant
- POST: /api/rant/comment - add a new comment