Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qridwan/goodreaders-be
Mongo Express Server for Goodreaders web application
https://github.com/qridwan/goodreaders-be
authentication bycrypt express jwt mongodb moongose nodejs typesc
Last synced: 3 days ago
JSON representation
Mongo Express Server for Goodreaders web application
- Host: GitHub
- URL: https://github.com/qridwan/goodreaders-be
- Owner: qridwan
- Created: 2023-07-15T18:12:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-16T17:41:34.000Z (over 1 year ago)
- Last Synced: 2023-07-16T19:41:34.416Z (over 1 year ago)
- Topics: authentication, bycrypt, express, jwt, mongodb, moongose, nodejs, typesc
- Language: TypeScript
- Homepage: https://goodreaders-api.vercel.app/api/v1/
- Size: 144 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Goodreaders Book catelog Express Server
#### API URL : https://goodreaders-api.vercel.app/api/v1
#### FRONTEND URL : https://goodreaders.vercel.app/
## [POSTMAN DOCUMENTATION](https://documenter.getpostman.com/view/15074292/2s946fdsdf)
# Authentication
- [POST SIGN UP] (https://goodreaders-api.vercel.app/api/v1/auth/signup)
{
"password": "hasan123",
"fullName": "Hasan Ali",
"email": "[email protected]"
}- [POST LOGIN user] (https://goodreaders-api.vercel.app/api/v1/auth/login)
{
"password": "ridwan123",
"email": "[email protected]"
}- [POST refresh token] (https://goodreaders-api.vercel.app/api/v1/auth/refresh-token)
# Books
- [GET all books] (https://goodreaders-api.vercel.app/api/v1/book)
- [Search books] (https://goodreaders-api.vercel.app/api/v1/book?searchTerm=Dr)
- [Filter books by genre] (https://goodreaders-api.vercel.app/api/v1/book?genre=education)
- [Filter books by publication] (https://goodreaders-api.vercel.app/api/v1/book?publication=2020)
- [GET sigle book] (https://goodreaders-api.vercel.app/api/v1/book/64b2fcb08e4a4d3ea5c02d6f)
- [DELETE delete book] (https://goodreaders-api.vercel.app/api/v1/book/64b318ecaaeaf90075c2fa2a)
![HEADERs](./.ss/auth_header.png)
- [PATCH update book] (https://goodreaders-api.vercel.app/api/v1/book/64b2f279e1ca0a499e9f769a)
{
"title": "Chemistry Test Book"
}![HEADERs](./.ss/auth_header.png)
- [POST create book] (https://goodreaders-api.vercel.app/api/v1/book)
{
"title": "Chemistry Test Book",
"author": "Ridwan Alam",
"genre": "education",
"publication": "20-12-2020",
"addedBy": "64b2f323e1ca0a499e9f769e"
}![HEADERs](./.ss/auth_header.png)
- [POST add review] (https://goodreaders-api.vercel.app/api/v1/review)
{
"review": "Nice Book",
"bookId": "64b2f390e1ca0a499e9f76a2",
"reviewerId": "64b2e8e70b3e12782cf339bc"
}![HEADERs](./.ss/auth_header.png)
- [GET reviews] (https://goodreaders-api.vercel.app/api/v1/review/64b2f390e1ca0a499e9f76a2)
# Wishlist (BONUS PART):
- [POST add wishlist] (https://goodreaders-api.vercel.app/api/v1/wishlist)
{
"bookId": "64b2f2f3e1ca0a499e9f769c",
"userId": "64b2e8e70b3e12782cf339bc"
}![HEADERs](./.ss/auth_header.png)
- [get wishlists] (https://goodreaders-api.vercel.app/api/v1/wishlist/)
![HEADERs](./.ss/auth_header.png)
- [Delete from watch list Copy] (https://goodreaders-api.vercel.app/api/v1/wishlist/64b310946c9cc223b303ac99)
![HEADERs](./.ss/auth_header.png)
# Reading List (BONUS PART):
- [POST add ReadingList] (https://goodreaders-api.vercel.app/api/v1/reading)
{
"bookId": "64b2f2f3e1ca0a499e9f769c",
"userId": "64b2e8e70b3e12782cf339bc"
}![HEADERs](./.ss/auth_header.png)
- [get reading list] (https://goodreaders-api.vercel.app/api/v1/reading/)
![HEADERs](./.ss/auth_header.png)
- [Delete from reading list Copy] (https://goodreaders-api.vercel.app/api/v1/reading/64b310946c9cc223b303ac99)
![HEADERs](./.ss/auth_header.png)