A modern full-stack eBook platform where users can browse, search, and purchase books online, while admins can manage books, genres, tags, and orders.
Built with Next.js, Express.js, MongoDB, and Cloudinary.
- Browse books by categories, genres, and tags
- Advanced search and filtering
- Detailed book pages with descriptions, reviews, and ratings
- Add books to cart and purchase securely
- Request new books
- AI-powered book assistant for recommendations
- User authentication (login/register)
- Full CRUD for books, genres, tags, and orders
- Dashboard with order statistics and analytics
- Upload book covers and files to Cloudinary
- Manage user orders and update status
| User Website | Admin Dashboard |
|---|---|
| Visit User Site | Visit Admin Panel |
| Featured Books Section | Book Detail Page |
|---|---|
| Request a Book | Book Assistant (AI) |
|---|---|
| Book Page | Requested Book |
|---|---|
- Next.js 14 β React framework with SSR
- Tailwind CSS β Utility-first styling
- React Query β Server-state management
- Axios β HTTP client
- React Hook Form β Form handling
- Node.js β Runtime environment
- Express.js β REST API framework
- MongoDB β NoSQL database
- Mongoose β ODM for MongoDB
- Cloudinary β Media storage and optimization
- JWT β Authentication
- Bcrypt β Password hashing
Before getting started, make sure you have:
- Node.js (v18 or later)
- MongoDB (Local or Atlas)
- Cloudinary account
git clone https://github.com/sohelrana2002/eBook-Application.git
cd eBook-ApplicationNavigate to the backend folder and install dependencies:
cd server
npm installCreate a .env file inside the server directory and add the required environment variables.
Start the development server:
npm run devNavigate to the user frontend folder and install dependencies:
cd ../client
npm installCreate a .env.local file and add the required environment variables.
Start the development server:
npm run devNavigate to the admin panel folder and install dependencies:
cd ../admin
npm installCreate a .env.local file and add the required environment variables.
Start the development server:
npm run dev- Next.js
- Tailwind CSS
- MongoDB
- Cloudinary -All open-source libraries used
Made with by Sohel Rana For any queries, feel free to open an issue or contact sohelrana110979@gmail.com.