Giter Club home page Giter Club logo

booktrove-app-api's Introduction

BookTrove (API)

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

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

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 in which you are interested. 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:

booktrove-app-api's People

Contributors

orndorfftyler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.