- This is a React-based Google Books Search full stack application, utilizing Node.js, Express, and MongoDB(mongoose).
- The app consists of two main pages:
- Search books through Google Books
- Save and view saved book information
- Utilize React lifecycle methods to query and display books based on user searches.
- Make use of Node.js, Express and MongoDB by developing full stack web app.
- Heroku
- Live app - https://infinite-eyrie-79163.herokuapp.com/
- GitHub
- This full stack app can also be installed locally through the following steps:
- Clone the git repository
git clone https://github.com/jenaym/NYT-Google-Book-Search.git
- Install necessary npm packages
npm install
- MongoDB database
- MongoDB server mongod needs to be up and running with all CRUD privileges.
server.js
includes the default local setup- mongodb://localhost/googlebooks
- Models/Schema
models ├── Book.js └── index.js
- Start the local development web server
npm start
- Clone the git repository
- The main page with search interface.
- Example search results with the search word "Game of Thrones"
-
The
View
button will open the book information on a new tab at the external Google Books web site. -
Pressing the
Save
button of each article will save the article in the internal database.
The Saved Books
button on the navbar on top shows all Saved books.
- Pressing the
Delete
button will remove the saved book entry from the internal database.