Django Notes API with JWT auth and owner-scoped notes.
- Django, DRF, simplejwt, Google Gemini API, SQLite
- Django project setup
- DRF ModelViewSet for full CRUD
- Django admin panel
- SQLite database
- JWT auth with simplejwt
- Protected endpoints
git clone https://github.com/saadfarhan023/django-notes
cd django-notes
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserverGET /api/notes/— list notesPOST /api/notes/— create noteGET /api/notes/{id}/— get notePUT /api/notes/{id}/— update noteDELETE /api/notes/{id}/— delete notePOST /api/notes/{id}/summarize/— summarize note content using Gemini AI
POST /api/token/— get access + refresh tokenPOST /api/token/refresh/— refresh access token
python manage.py createsuperuserThen visit http://127.0.0.1:8000/admin