Skip to content

A full-stack MERN app allowing to search the new Google Books API in either title or author fields and save any book of interest to a database. The saved books may be reviewed and the list adjusted by removing any saved record from the database.

License

Notifications You must be signed in to change notification settings

BohdiCave/just-book-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Book It - a full-stack MERN App

License: MPL 2.0

This app is a Node/Express/MongoDB/React app deployed to Heroku. It makes a call to Google Books API and allows users to search that API based on the "title" and "author" fields.

In the development phase, the front-end React auto-reloads as it's updated via webpack dev server, and the backend Express app auto-reloads independently with nodemon ("concurrently" dev dependency). Once deployed to Heroku, the app is connected to the GitHub repository and automatically rebuilds the app upon every new push to GitHub.

Features used

Frontend

  • React components and pages, routed by react-router-dom
  • React UseState and UseEffect hooks
  • Custom UseDebounce hook - to prevent excessive calls to Google Books API as users input search terms
  • Protected API key using .env

Backend

  • MVC architecture
  • Client (react app as 'views') and Server (as 'models' and 'controllers' with routes) folder structure
  • MongoDB with mongoose.js (deployed on MongoDB Atlas)
  • Server falls back to React app if no API routes are hit upon

Screenshots

Screenshot 1

Screenshot 2

About

A full-stack MERN app allowing to search the new Google Books API in either title or author fields and save any book of interest to a database. The saved books may be reviewed and the list adjusted by removing any saved record from the database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published