A modern library delivery management system that allows users to request book pickup and delivery from nearby libraries, making it easier for students, researchers, and readers to borrow and return books without physically visiting the library.
BookCourier bridges the gap between libraries and readers by providing a convenient book delivery service. Users can browse available books, place orders, track deliveries, and manage their reading list all from the comfort of their homes.
- Browse Books: Explore a wide collection of books with detailed information
- Smart Search & Sort: Find books quickly by name and sort by price
- Order Management: Place orders, track status, and cancel pending orders
- Secure Payment: Integrated payment system for book orders
- Wishlist System: Save favorite books for later
- Review & Rating: Share feedback on ordered books
- Order History: View all past orders and invoices
- Profile Management: Update personal information and profile picture
- User Management: Promote users to librarian or admin roles
- Book Moderation: Publish, unpublish, or delete any book
- Complete Control: Oversee all platform activities
- Authentication: Secure login with email/password and social login
- Responsive Design: Optimized for mobile, tablet, and desktop
- Dark/Light Mode: Toggle between themes for comfortable viewing
- Real-time Updates: Live order status tracking
- Coverage Map: View delivery-available cities
- JWT Security: Protected routes with token verification
react- UI libraryreact-router-dom- Routing and navigationfirebase- Authentication and hostingaxios- HTTP requestsreact-hook-form- Form handlingreact-hot-toast- Notifications@tanstack/react-query- Data fetching and cachingswiper- Banner sliderreact-icons- Icon componentstailwindcss- Styling frameworkdaisyui- UI componentsreact-leaflet- Map integrationstripe- Payment processing
express- Server frameworkmongodb- Databasedotenv- Environment variablescors- Cross-origin resource sharingjsonwebtoken- JWT authenticationstripe- Payment processingfirebase-admin- Firebase token verification
- Node.js (v14+)
- MongoDB
- Firebase Account
- Stripe Account
- Clone the repositories
git clone <client-repo-url>
git clone <server-repo-url>- Install dependencies
# Client
cd client
npm install
# Server
cd server
npm install- Set up environment variables
# Client .env.local
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_API_URL=your_backend_url
VITE_STRIPE_PUBLIC_KEY=your_stripe_key
# Server .env
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret- Run the application
# Client
npm run dev
# Server
npm run devBuilt with β€οΈ by [Ismail Hossain]