Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdullahrfa/django_rest_framework
Django REST Framework (DRF) is a powerful, flexible toolkit for building web APIs in Django. It simplifies API development with features like serialization, authentication, and viewsets, supporting formats like JSON and XML. DRF is highly customizable, integrates seamlessly with Django ORM, and is widely used for creating robust, scalable APIs.
https://github.com/abdullahrfa/django_rest_framework
django django-application django-framework django-project django-rest-framework
Last synced: 13 days ago
JSON representation
Django REST Framework (DRF) is a powerful, flexible toolkit for building web APIs in Django. It simplifies API development with features like serialization, authentication, and viewsets, supporting formats like JSON and XML. DRF is highly customizable, integrates seamlessly with Django ORM, and is widely used for creating robust, scalable APIs.
- Host: GitHub
- URL: https://github.com/abdullahrfa/django_rest_framework
- Owner: AbdullahRFA
- Created: 2025-01-13T04:47:48.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2025-01-13T05:31:27.000Z (14 days ago)
- Last Synced: 2025-01-13T06:26:04.960Z (14 days ago)
- Topics: django, django-application, django-framework, django-project, django-rest-framework
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django_REST_framework
# Create the project directory
mkdir tutorial
cd tutorial# Create a virtual environment to isolate our package dependencies locally
python3 -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`# Install Django and Django REST framework into the virtual environment
pip install djangorestframework
# Set up a new project with a single application
django-admin startproject tutorial . # Note the trailing '.' character
cd tutorial
django-admin startapp quickstart
cd ..# for runnig
python3 manage.py runserver
# for migrate
python manage.py migrate
# We'll also create an initial user named admin with a password. We'll authenticate as that user later in our example.
python manage.py createsuperuser --username admin --email [email protected]