React-based Google Books Search app
React-based Google Books Search app. Display books based on user searches. Use Node, Express and MongoDB so that users can save books to review. This project is mainly focus on to create React components, work with helper/util functions, and utilize React lifecycle methods.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
After finish setting up the above, clone this project to your local machine and we can go to the next step.
cd NYT-Google-Books-Search
and run the command below to install everything for the server.
npm install
Then run the command below to change directory to client and install React project for front end.
install
Use Mongodb, and Mongoose to access database
The database grows as more books get searched and saved.
To run a local testing server, go to the root directory of this project and run this command in your terminal:
node server
Now the local server is running on port 3001 in your local machine.
cd client
to React project directory and run this in your terminal:
yarn start
React is running on port 3000. Open your browser and visit http://localhost:3000.
This is a single page application that uses react-router-dom
to navigate, hide and show React components without changing routes within Express.
Enter a book name and search for results. The server will return maximum 20 related results from Google.
Check out this project here: https://react-google-books-huilingwu.herokuapp.com/
Huiling Wu