/google_books_app

A MERN stack app that lets the user search and save books from the Google Books API.

Primary LanguageJavaScriptMIT LicenseMIT

Google Books Search App

Description

This is a MERN stack (MongoDB, Express, React and Node.js) web application that makes use of the Google Books API. A deployed version can be found here.

Installation

  1. Make sure you have Node.js installed on your local machine.
  2. You will need to have a MongoDB server installed on your local machine to access the data locally. You can install the community version here.
  3. Then clone or download the repository. There are two folders in this repository, one for the front end ( /client ) and one for the backend ( /server ). Each has their own package.json, so you will need to install dependencies for both directories.
	// Navigate into the client directory, and run npm install
	cd ./client
    npm install

	// Navigate into the server directory, and run npm install
	cd ./server
	npm install
  1. You'll have to also run both servers that are running on localhost:3000 (front end), and localhost:3001 by running the following:
	// Navigate into the server directory, and run npm start
	cd ./server
    npm start

	// Navigate into the client directory, and run npm start
	cd ./client
    npm start
  1. After which, you can open up localhost:3000 on your web browser to view and use the application.

Usage

  • Search for books on the Google Books API, and display a title, thumbnail, authors, description, and Google Books link.
  • Save any books to a MongoDB database, and view and delete entries that you've saved.

Images