Skip to content

An API written to solve accommodation problem on campus.

Notifications You must be signed in to change notification settings

adejorosam/Findr-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Findr API

Application Description

This is a simple API built for the sole purpose of finding a lasting solution to the myriads of a accomodation issues in O.O.U Ago-iwoye environs. Students don't find it easy in their search for apartment. It was for that purpose, that was why this API was built.

Technologies used

Modern Python web technologies were adopted for this project

Django: Django is a Python-based free and open-source web framework, which follows the model-template-view architectural pattern. It is maintained by the Django Software Foundation, an independent organization established as a 501 non-profit. Visit here for more information.

Django-Rest-Framework: Django REST framework is a powerful and flexible toolkit for building Web APIs. Visit here for more information.

Installation

git clone https://github.com/samson1998/Findr-API.git

cd Findr-API

pip install -r requirements.txt

python manage.py migrate

python manage.py runserver

python mange.py createsuperuser

API Routes

HTTP VERBENDPOINTFUNCTIONALITY
POST /api/v1/users Creates a user
POST /api/v1/login Login a user
POST /api/v1/users Creates a user
PATCH /api/v1/users Update a user
POST /api/v1/apartments Create an apartment
POST /api/v1/apartments Get list of all apartments
GET /api/v1/users View all users
GET /api/v1/users/{id} View a particular user
GET /api/v1/apartments/{id} View a particular apartment
PATCH /api/v1/users Update a user
DELETE /api/v1/apartments/{id} Delete a particular apartment

About

An API written to solve accommodation problem on campus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages