This is the backend of the Task Manager web application built with Django and Django REST Framework. It provides a RESTful API that supports user authentication and task management.
- User registration (custom view)
- JWT login and token refresh (via SimpleJWT)
- Authenticated CRUD operations for tasks
- Each user can manage their own tasks
- Designed to work with a React frontend
- Python
- Django
- Django REST Framework
- Simple JWT (authentication)
- SQLite (default, can use PostgreSQL in prod)
- CORS Headers (for frontend connection)
git clone https://github.com/Pad96pages/taskmanager-backend.git
cd taskmanager-backendpython -m venv env source env/bin/activate # On Windows: env\Scripts\activate
pip install -r requirements.txt
If you donโt have a requirements.txt, you can run: pip install django djangorestframework djangorestframework-simplejwt django-cors-headers
python manage.py makemigrations python manage.py migrate
python manage.py runserver
Test the backend using POSTMAN POST, GET, PUT, DELETE
In settings.py: INSTALLED_APPS = [ ... 'corsheaders', ... ]
MIDDLEWARE = [ 'corsheaders.middleware.CorsMiddleware', ... ]
CORS_ALLOW_ALL_ORIGINS = True
https://github.com/Pad96pages/taskmanager-frontend
Have a good time!