Finding apartments on a lease can be a difficult and time-consuming task. We can sublease a room to save time, possibly rent, and enjoy the benefits of a shorter lease time. WolfLease is an application to help people find Apartments offering rooms on sublease and move in faster! WolfLease allows us to search for flats based on location, facilities, sublease start and end dates, etc.
Group20-Intro.mp4
-
- Download Python3.8 on your system.
-
To run the site locally:
-
Clone this (Wolflease) github repo.
-
Navigate to project directory.
-
Create a virtual environment:
python -m venv project_env
-
Activate the virtual environment:
source project_env/bin/activate
-
Build the virtual environment:
pip install -r requirements.txt
-
Run:
python manage.py runserver
-
Site will be hosted at:
http://127.0.0.1:8000/
-
HTTP Method | URL | Description |
---|---|---|
GET |
http://localhost:8000/admin/ | Admin page |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/owners | Create new Owner |
PUT |
http://localhost:8000/owners/{ownerId} | Update Owner by ID |
GET |
http://localhost:8000/owners | Get all Owners |
DELETE |
http://localhost:8000/owners/{ownerId} | Delete Owner by ID |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/apartments | Create a new Apartment |
PUT |
http://localhost:8000/apartments/{apartmentID} | Update Apartment by ID |
GET |
http://localhost:8000/apartments | Get all Apartments |
DELETE |
http://localhost:8000/apartments/{apartmentID} | Delete Apartment by ID |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/lease | Create a new Lease |
PUT |
http://localhost:8000/lease/{LeaseID} | Update Lease by ID |
GET |
http://localhost:8000/lease | Get all lease |
DELETE |
http://localhost:8000/lease/{LeaseID} | Delete Lease by ID |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/flats | Create a new Flat |
PUT |
http://localhost:8000/flats/{flatID} | Update Flat by ID |
GET |
http://localhost:8000/flats | Get all Flats |
DELETE |
http://localhost:8000/flats/{flatID} | Delete Flat by ID |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/users | Create a new User |
PUT |
http://localhost:8000/users/{userID} | Update User by ID |
GET |
http://localhost:8000/users | Get all Users |
DELETE |
http://localhost:8000/users/{userID} | Delete User by ID |
HTTP Method | URL | Description |
---|---|---|
POST |
http://localhost:8000/interests | Create a new Interest |
PUT |
http://localhost:8000/interests/{interestID} | Update Interest by ID |
GET |
http://localhost:8000/interests | Get all Interests |
DELETE |
http://localhost:8000/interests/{interestID} | Delete Interest by ID |