This repository contains the source code for a bookstore web application built using React.js for the frontend and Node.js with Express.js for the backend. The application allows users to browse, search, and purchase books from a wide selection.
- User Authentication: Users can sign up, log in, and log out securely.
- Book Browsing: Users can view a collection of books, search for specific titles, and browse through paginated results.
- Cart Management: Users can add books to their cart, adjust quantities, and proceed to checkout.
- Responsive Design: The application is designed to be responsive and accessible across various devices.
- Frontend: React.js, React Router, React Hook Form, Material-UI
- Backend: Node.js, Express.js, MongoDB
- State Management: React Context API, React Query
- Authentication: JSON Web Tokens (JWT)
- Database: MongoDB Atlas
- API Requests: Axios
- Styling: Tailwind CSS
- Clone the repository to your local machine.
- Navigate to the
frontenddirectory and runnpm installto install frontend dependencies. - Navigate to the
backenddirectory and runnpm installto install backend dependencies. - Start the backend server by running
npm startin thebackenddirectory. - Start the frontend development server by running
npm startin thefrontenddirectory. - Access the application in your browser at
http://localhost:3000.
Check out the live demo of the application here.
I would like to thank my classmate vasu gangani for their assistance in adding comments to parts of the code. Their input helped improve the clarity of the codebase.