This is a Django-based REST API project with multiple apps for managing blogs, employees, and students.
django_rest_main/
├── api/
├── blogs/
├── employees/
├── students/
├── manage.py
├── db.sqlite3
- api/: Core API logic, filters, pagination, serializers, and views.
- blogs/: Blog models, views, and serializers.
- employees/: Employee management.
- students/: Student management.
- django_rest_main/: Project settings and configuration.
-
Clone the repository
git clone https://github.com/nahidn4p/Django-rest-framework.git cd Django-rest-framework -
Install dependencies
pip install -r requirements.txt
-
Apply migrations
python manage.py migrate
-
Run the development server
python manage.py runserver
- Blog, Employee, and Student endpoints are available under their respective apps.
- See api/urls.py, blogs/views.py, employees/views.py for details.