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.
- Make sure you have Node.js installed on your local machine.
- 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.
- 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 ownpackage.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
- You'll have to also run both servers that are running on
localhost:3000
(front end), andlocalhost: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
- After which, you can open up
localhost:3000
on your web browser to view and use the application.
- 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.