Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterakande/todolistapi

TodoListApi
https://github.com/peterakande/todolistapi

Last synced: 7 days ago
JSON representation

TodoListApi

Awesome Lists containing this project

README

        

# TodoListApi
TodoListApi

A simple Todo list Api, built with Django rest framework.
It features a simple custom username, email and password signup and
email and password login.

## Endpoints
To get the list of todos
> ```localhost:3000/```

## To sign up
Endpoint
> ```localhost:3000/auth/signup/```

Request Type
> ```POST```
* Request body
>```json
>{
> "username": "unique_username",
> "email": "[email protected]",
> "last_name": "Last name",
> "first_name": "First name",
> "password": "123456789"
>}
>```

# To sign in
Endpoint
> ```localhost:3000/auth/signin/```
Request Type
> ```POST```
* Request body
>```json
>{
> "email": "[email protected]",
> "password": "123456789"
>}
>```

This project uses token based authentication.
The token is returned in the response after each sign in or sign up request.

Still an unfinished project.