Coder Social home page Coder Social logo

fdeaquino / book-search-engine Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.82 MB

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

Home Page: https://fd-google-book-search-engine.herokuapp.com/

License: MIT License

HTML 5.60% JavaScript 93.87% CSS 0.53%
apollo-server google-books-api graphql mern-stack refactoring-exercise

book-search-engine's Introduction

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

book-search-engine's People

Contributors

fdeaquino 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.