/lefla-api

hostel management api

Primary LanguageJavaScript

Lefla Django Api

Description

This is a backend used to serve housing data to the the app being developed. It is written in Django(python 3.10). We've used sqlite as our database due to cost.

Usage

To use this backend locally on your system:

Install virtual environment
pip install virtualenv
create virtual environment
python3 -m virtualenv env
activate virtual environment
source env/bin/activate
install the requrements :
pip install -r requirements.txt


run server :

navigate to API/lefla then:

./manage.py runserver

Documentation

/api/docs/

Below is the postman collection

Run in Postman