Skip to content
cmanage1 edited this page Jul 26, 2020 · 6 revisions

Welcome to the shelf-it wiki!

You can find build instructions on the README.md file

Test cases are here

How it works

Sign up:

  • Firebase Auth API creates a new user with credentials
  • A new user is added to the database with a document specific to them using Firestore API

Sign in:

  • Firebase Auth API checks to see whether the user exists and changes Authorization State if exists

Forgot password:

  • Firebase Auth API sends a password reset link to the user's email

Change password:

  • Firebase Auth API changes password of the signed in user

Search:

  • Google Books API call sends back a list of matched items to the search string

Add to library:

  • Firestore document specific to the user stores the item object sent from Google Books API
  • Sends JavaScript alert as user feedback

Remove from library:

  • The item object is removed from the array containing items in Firestore database
  • Sends JavaScript alert as user feedback

Preview:

  • The button redirects user to the link in item object
Clone this wiki locally