You are on page 1of 1

Create ToDo management

Apis
1. Login
2. Signup
3. CRUD APIs for Todo
4. Add comment to the todo
5. Add only one reply to the comments

Brief about what to do


Login:- User can log in using email and password
Signup:- For signing up user has to provide email, phone_number(should be unique), password,
username.

TODO APIs
All these APIs should betoken authenticated. All Todos will have an end date and a status that
shows whether the todo expired date is crossed or not.
1. Create:- Users should be able to create as many todos as they can.
2. List1:- Each user can list there todo. Use Pagination here to give a paginated response.
3. List2:- Only admin users can use this API where they can see Todos created by all the users
in a database. It should return a paginated response.
4. Update:- Users can update the details of their Todos.
5. Delete:- Can delete their todos.
6. Add comment to todos:- Users can add a comment on their Todo.
7. Add Reply:- Users can add a reply to their comment. For ease let’s keep it only 1 reply.

Note:- If the Django framework is used please create a custom permission class for checking
the user is admin or not.

You might also like