A Django + TastyPie REST API for managing notes, inspired by Google Keep.
Implements full CRUD functionality with model-backed endpoints, tested via Postman.
- Django ORM for data modeling
- TastyPie for RESTful API endpoints
- Fully working CRUD: Create, Read, Update, Delete
- Postman tested
- Admin dashboard enabled
| Method | URL | Description |
|---|---|---|
| GET | /api/note/ |
List all notes |
| GET | /api/note/<id>/ |
Retrieve a specific note |
| POST | /api/note/ |
Create a new note |
| PUT | /api/note/<id>/ |
Update a note |
| DELETE | /api/note/<id>/ |
Delete a note |
{
"title": "First Note",
"body": "This is certainly noteworthy"
}- Python 3.10+
- Django 5.2.1
- django-tastypie
Install all dependencies with:
pip install -r requirements.txtgit clone https://github.com/MartelV/DjangoTastyPieAPI.git
cd DjangoTastyPieAPI
python -m venv env
source env/bin/activate # On Windows: .\env\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Then visit: http://127.0.0.1:8000/api/note/