Skip to content

Converted a functioning Google Books API search engine, built using RESTful API, into a GraphQL API using Apollo Server. The conversion involved replacing the RESTful API with GraphQL queries and mutations to retrieve and modify data, adjusting the authentication middleware to work with a GraphQL API, and setting up an Apollo Provider

License

Notifications You must be signed in to change notification settings

fdeaquino/book-search-engine

Repository files navigation

Google Book Search Engine

Description

This web application enables users to log in and sign up, search for books, and save or delete books to their account.

The project's objective was to transform a RESTful API-based Google Books API search engine into a GraphQL API using Apollo Server. This conversion entailed replacing RESTful API with GraphQL queries and mutations for data retrieval and modification, adjusting authentication middleware for compatibility with a GraphQL API, and setting up an Apollo Provider. The biggest challenge was rendering saved books on the user's account, which was resolved with assistance from a second set of eyes. This help revealed errors, such as an extra bracket causing an empty saved books array and an invalid argument passed into a book-saving function, which allowed the project to be completed successfully.

Table of Contents

Installation

Installation is not required. Please navigate to the deployed site by clicking this link.

Usage

  1. Open the deployed site
  2. Click the Login/Sign Up button on the nav in the top right corner of the screen
  3. Sign Up as a new user by entering the required fields
  4. In the search bar, type in a book or author you'd like to search for
  5. To save a book, find a book you'd like to save, then click the blue Save this Book! button
  6. To view your saved books, click the See Your Books link in the nav on the top right corner of the screen
  7. To delete a book from your saved books list, click the Delete this Book! button under the saved book

Screenshot

Screenshot

Credits

While creating this project, I read documentation on GraphQL, Apollo Server, Apollo Client/Provider, and React.js. Additionally, I recieved feedback and support from my 2U tutor.

License

MIT

About

Converted a functioning Google Books API search engine, built using RESTful API, into a GraphQL API using Apollo Server. The conversion involved replacing the RESTful API with GraphQL queries and mutations to retrieve and modify data, adjusting the authentication middleware to work with a GraphQL API, and setting up an Apollo Provider

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published