/lib-backend

Primary LanguageJavaScript

Lib-backend

API Endpoints :

API Documentation : https://www.getpostman.com/collections/618091c5b739001ae107
Run in Postman

  • POST /signup - for user signup
  • POST /signin - user signin
  • GET /signout - log out user
  • GET /authors - To return the response of all the authors in the database with number of books published by that author
  • GET /authors/id - To return the details of the author with the given author id with list of books.
  • GET /authors/me - To return the details of the logged-in author.
  • GET /books - To return the list of all the books.
  • PUT /books/like/id - To like a book.
  • PUT /books/unlike/id - To unlike a book.

deployed on

https://lib-backend-production.up.railway.app