Skip to content

gianlucaromeo/sweasy-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWeasy Backend

Django REST Framework backend for SWeasy.

Installation

Clone the repository and navigate to root folder:

git clone https://github.com/gianlucaromeo/sweasy-backend.git
cd sweasy-backend

Run on localhost

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/

About

A simple backend to learn Django (rest-framework).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages