https://github.com/majid-l/django-api-project
A Django REST framework API supporting all CRUD operations, complete with full-coverage integration testing, comprehensive error handling, functional views and object-oriented testing.
https://github.com/majid-l/django-api-project
django-rest-framework jwt mongodb
Last synced: 2 months ago
JSON representation
A Django REST framework API supporting all CRUD operations, complete with full-coverage integration testing, comprehensive error handling, functional views and object-oriented testing.
- Host: GitHub
- URL: https://github.com/majid-l/django-api-project
- Owner: majid-L
- Created: 2023-02-03T09:00:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T12:24:07.000Z (about 3 years ago)
- Last Synced: 2025-05-19T01:37:48.806Z (about 1 year ago)
- Topics: django-rest-framework, jwt, mongodb
- Language: Python
- Homepage: https://automatrixapi.pythonanywhere.com/
- Size: 1.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# API project featuring Django REST framework and MongoDB
**[Link to the API's root endpoint](https://automatrixapi.pythonanywhere.com/)**
**[Link to the front end interface for this API](https://3782291211.github.io/vue-api-interface/)**
Welcome to another one of my backend projects. Here I have created a NoSQL web API with Django REST framework featuring full CRUD functionality and exhaustive integration testing. This API is built upon a document data model and is connected to document collections hosted on a MongoDB database cluster.
Visit the links above to view the API and explore all of its endpoints, HTTP methods and error messages.
## Endpoints
To access each resource, simply append one of these paths to the API's base URL.
- /api/patterns
- **GET | POST**
- /api/patterns/:pattern_id
- **GET | PUT | DELETE**
- /api/users
- **GET | POST**
- /api/users/:user_id
- **GET | PUT | DELETE**
- /api/users/:username/patterns
- **GET**
- /api/comments
- **GET | POST**
- /api/comments/:comment_id
- **DELETE**
## Key product features:
- Based on an MVT design pattern.
- Variety of endpoints providing GET, POST, PUT and DELETE functionality.
- Extensive error handling with custom error messages for distinct concerns.
- Full integration testing using Django's test case class.
- Function-based views and object oriented tests.
- JWT user authentication services offering signup and login functionality.
- Virtual environment for project dependencies.
- Multi-app project structure, in line with best practice.