Skip to content

This API allows books and materials in pdf format to be stored and accessed by authenticated users. Written with Python, Django, Django Rest Framework.

Notifications You must be signed in to change notification settings

seyiadel/book-library-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book-library-backend

This API(Application Programming Interface) allows books and files in pdf format to be stored and accessed by authenticated users

- Snapshot of Swagger Documentation

Screenshot (234)

Endpoints

  • GET /books/- Get all books added
  • GET /book/{id}- Get books added by id
  • POST /book/- Add new book
  • POST /login/ - Logs in signed up user
  • POST /logout/ - Deletes token in session of an authenticated user
  • POST /logout-all/ - Deletes all tokens from previous sessions for an authenticated user
  • POST /signup/ - Register user to database

Run on your local machine

Open up your terminal, follow these steps below:

git clone https://github.com/seyiadel/book-library-backend.git

Change the directory to book-library-backend

cd book-library-backend

Install the dependecies from requirements.txt

pip install -r requirements.txt 

Run the development server

python manage.py runserver

Voila!, You have the project running on your local machine, Check and test the documentation

127.0.0.1:8000/docs/

where :8000 is your port number!

About

This API allows books and materials in pdf format to be stored and accessed by authenticated users. Written with Python, Django, Django Rest Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages