This is the backend for a Django REST API application.
The project is based on Django and Django REST Framework and uses a classic app structure (e.g. app_auth, ...).
With this API you can manage user authentication, boards, and tasks.
backend/
── app_auth/
── app_meta/
── app_offers/
── app_orders/
── app_reviews/
── core/
── env/ # local virtual environment (ignored)
── manage.py
── requirements.txt
── .gitignore
- Python 3.8+
- pip
- Optional: virtualenv
-
Clone the repository
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name> -
Create a virtual environment
python -m venv env
source env/bin/activate# Windows: env\Scripts\activate -
Install dependencies
pip install -r requirements.txt -
Run migrations
python manage.py migrate -
Create a superuser for the admin
python manage.py createsuperuser -
Start the server
python manage.py runserver
Note:
By default, the server runs at http://127.0.0.1:8000/
Adjustcore/settings.pyfor databases,DEBUG, andALLOWED_HOSTSas needed.
Djangodjangorestframeworkdjango-cors-headersdjango-filtersqlparsedrf-spectacularpytest-django
- Make sure
.envfiles are not pushed to the repo (see.gitignore). - Do not commit database files (
*.sqlite3). - Use
.envexclusively for secret keys and passwords.
MIT License – see LICENSE