It built on Django Rest Framework and utilizing Postgres SQL Database. Basic CURD operations Django DRF app.
- Python 3.10.x
- PostgreSQL (Exit the app/settings.py)
-
Clone the repository:
git clone https://github.com/mrankitvish/django-drf-demo-app.git
-
Navigate to the project directory:
cd django-drf-demo-app/app
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
# On Windows .\venv\Scripts\activate # On Linux/Mac source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Access your app at http://localhost:8000/