Django REST Framework backend for SWeasy.
Clone the repository and navigate to root folder:
git clone https://github.com/gianlucaromeo/sweasy-backend.git
cd sweasy-backend
Create a virtual environment:
python -m venv venv
Activate it:
- Linux/macOS:
source venv/bin/activate
- Windows (PowerShell):
venv\Scripts\Activate
Install dependencies:
pip install -r requirements.txt
Apply migrations:
python manage.py migrate
Copy .env.example into .env
cp .env.example .env
(You can edit the .env file as needed.)
Start the server:
python manage.py runserver
Server runs by default at http://127.0.0.1:8000/