A simple REST API made in Python in Flask. The only resources are User and his Posts and it's CRUD operations are limited by authentication implemented using JWT.
cd hatebook-api
./run.sh
- /users
- /users/{user_name}
- /users/{user_name}/posts
- /users/{user_name}/posts/{post_id}
- /login
- User
- name: string
- password: string
- posts: Post[]
- Post
- id: number
- author: User
- text: string