README.md allows us to browse the resources of a virtual library. The program utilizes the Google Books API to explore the library's resources. This is a training project created to learn the MERN technology stack.
- You can create a new account or log in with an existing one.
- You can browse the entire library of books using the Google Books API.
- As a logged-in user, you can add books to your favorites or request to borrow a book.
- As an administrator, you can remove books from the borrowed books of all users.
- JavaScript
- Node.js
- Express.js
- MongoDB
- React
To run the project, follow these steps:
Clone the repository to your device.
git clone https://github.com/KamilSadlocha/README.md.git
-
In 'server' folder crete .env file and configure database connection.
-
Run backend:
node server.js
-
Navigate to 'client' folder.
-
Install all required dependencies to run the project. You can use npm:
npm install
- Create api-key.js in client/src/ folder and add Your Google Books API key:
const googleBooksApi = 'YOUR GOOGLE BOOK API KEY'
export default googleBooksApi;
- Run the frontend application:
npm start