A React-based Google Books Search App, demonstrating full MERN-stack capabilities. Users can add new books to their collection using Google's Book Search API, then can view their collection and mark books as read or remove them entirely.
Link to the Deployed Site || Link to the GitHub Repo
-
Fork the repo.
-
Clone the repo to your local machine.
-
On your local repo, run
npm install
in the root folder to install npm packages from both package.json files. -
Create a MongoDB database called
reactgooglebookssearch
, and make suremongod.exe
is running whenever you want to test the app locally. -
Create a file titled
.env
in the root folder. Inside it, you will include your Google Books API key. (Sign up for a key here.) Format for .env file:BOOKS_API_KEY={your-secret-here}
-
Run
npm start
to start your node server, and visitlocalhost:3000
to interact with Google Books Search.
Use the search page to find and add books to your saved collection. On the saved page, click on each book to learn more, mark them as read, or remove them from your collection entirely.
Reach out if you'd like to collaborate. Raising an issue, or Pull Requests are welcome!