Skip to content

Udit107710/Bipolar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Create a new .env file in the directory and add the required env variables like SECRET_KEY and DEBUG

How to run

use

docker-compose up

and navigate to localhost:8000 to access the application

Endpoints

Endpoint Request Type Args Return
auth/users POST -email -username -password HTTPS 200
auth/jwt/ceate POST - username - password - Access Token - Refresh Token
app/book GET List of books available
app/book/ POST -title -amazon_url -genre -author Book detail
app/reader/ GET List of user's fav books
app/reader/ POST List of user's fav books List of user's fav books
app/reader/ PUT List of user's new fav books List of user's new fav books
app/reader/ PATCH Book to be added to user's list of fav books The book added to user's list of fav books
app/reader/ DELETE Book to be delted from user's list of fav books List of user's fav books

For more endpoints realted to user or authentication refer to djoser doc

Remember to pass the JWT toke in format Authorization: JWT [TOKEN] where Authorization is the header key

Run in Postman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published