Public
Documentation Settings

Book App Backend

Backend for book app

live link: https://bookexchange.onrender.com

POSTBook App Register

http://localhost:4002/auth/register

First register your hostel ( if not yet )

Bodyformdata
address

"sample address"

profileViews

0

email

"sample@sample.com"

firstName

"Sample"

lastName

"User"

picture
picturePath

Screen4.jpg

password

samplepassword

hostel

65fa7bdc70068a75d87901c1

GETBook App GetUser

http://localhost:4002/bookApp/user
HEADERS
Authorization

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1YjNjZjkwYTEyYmVmZWJkMjVhOWY1OCIsImlhdCI6MTcwNzA1MjQyNn0.xKpCLIsiBgw6bNMeXUWJPU6JsJqD-bZHrePg3mLbJXo

POSTBookApp Login

http://localhost:4002/bookApp/login
Bodyraw (json)
json
{
    "email":"aayush@gmail.com",
    "password":"123456"
}

GETBook App GetBooks

http://localhost:4002/bookApp/getBooks
HEADERS
Authorization

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1YjNjZjkwYTEyYmVmZWJkMjVhOWY1OCIsImlhdCI6MTcwNzA1MjQyNn0.xKpCLIsiBgw6bNMeXUWJPU6JsJqD-bZHrePg3mLbJXo

Loading