Skip to content

orndorfftyler/booktrove-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookTrove (client)

Try out the app here: https://booktrove-app.vercel.app.

BookTrove API repo: https://github.com/orndorfftyler/booktrove-app-api

Summary

BookTrove allows you to read and write reviews of your favorite books. Users first sign up or log in before accessing the search page. The search page is powered by Google Books and allows you to search for books that you are interested in. Clicking on a book in the search results brings you to a page which lists the reviews left for that book by other BookTrove users. Users may indicate which reviews they found useful and leave their own review.

Tech Used

Built with HTML, CSS, JavaScript, React, React Router, Node.js, Express, Knex, PostgresSQL.
Frontend deployed using Vercel. Backend deployed using Heroku.

API Documentation

BookTrove API endpoints:

POST /api/auth/login

  • returns a JWT if user credentials are valid

GET /api/reviewsperbook/:book_id

  • gets the reviews for a given book

POST /api/reviewsperbook/:book_id

  • adds a review for a given book

DELETE /api/reviews/:review_id

  • deletes a review

PATCH /api/reviews/:review_id

  • updates an existing review

GET /api/helpfulreview/:review_id

  • gets a list of which users found a given review helpful

POST /api/helpfulreview/:review_id

  • adds to the list of which users found a given review helpful

POST /api/users/

  • creates a new user/pw combo

Screenshots

Login page:

Search page:

Book review page:

About

Leave reviews of your favorite books! (frontend)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published