This project is built using Django Rest Framework (DRF). It provides a foundation for creating and managing RESTful APIs.
To install this project, follow these steps:
- Clone the project:
git clone https://github.com/ok7uz/Django-DRF-Template.git
cd Django-DRF-Template
- Set up a virtual environment (recommended):
python3 -m venv env
source env/bin/activate
- Install the requirements:
pip install -r requirements.txt
- Create the .env file. Copy the necessary values from the .example.env file and adjust them as needed:
cp example.env .env
- Apply migrations and create the database:
python manage.py migrate
- Run the server:
python manage.py runserver
You can install and configure the main parts of the project through these steps.
Modify the necessary values inside the .env
file for configuration. Additional settings can be adjusted in the settings.py file.
If you have any questions, suggestions, or encounter any issues related to this project, please feel free to raise an issue on GitHub. Your feedback is highly appreciated!