Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prathmesh-jagtap/django_todo_drf
https://github.com/prathmesh-jagtap/django_todo_drf
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prathmesh-jagtap/django_todo_drf
- Owner: prathmesh-jagtap
- License: apache-2.0
- Created: 2022-06-22T17:34:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T17:39:59.000Z (over 2 years ago)
- Last Synced: 2023-03-06T01:52:23.844Z (almost 2 years ago)
- Language: Python
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## DRF-TDD-Example
An example Django REST framework project for test driven development.
### Test Case Scenarios
* Test to verify registration with invalid password.
* Test to verify registration with already exists username.
* Test to verify registration with valid datas.
* Tested API authentication endpoint validations.
* Tested authenticated user authorization.
* Create a todo with API.
* Update a todo with API.
* Update a todo with API.
* Delete a todo with API.
* Get todo list for a user.### API Endpoints
#### Users
* **/api/users/** (User registration endpoint)
* **/api/users/login/** (User login endpoint)
* **/api/users/logout/** (User logout endpoint)#### Todos
* **/api/todos/** (Todo create and list endpoint)
* **/api/todos/{todo-id}/** (Todo retrieve, update and destroy endpoint)### Install
pip install -r requirements.txt
### Usage
python manage.py test