This project is a bookstore application built using the MERN stack (MongoDB, Express.js, React.js and Node.js). It focuses on implementing CRUD (Create, Read, Update, Delete) operations for managing books in a database.
Backend
Node.js
Express.js
Mongoose
(for MongoDB interaction)
Frontend
React.js
Testing Requests
Postman
- Browse Books: View a list of available books with details like title, author and publishing year.
- Add Books: Add new books to the database.
- Edit Books: Edit information related to the existing books in the database
- Delete Books: Remove any books from the database.
- Clone the repository to your local machine.
- Install dependencies using
npm install
- Create your own
.env
file in thebackend
folder and declarePORT
andMONGODB_URL
environment variables using whichever port and your own MongoDB URL. - Start the backend server by running
npm run dev
- Start the frontend development server by also running
npm run dev
- Access the application in your web browser through the link provided in the terminal.
You can watch the demo of the application in the following gif: