LibraryPlus is an advanced library management system designed for schools, universities, and public libraries. It streamlines book discovery, borrowing, and purchasing, providing an intuitive dark-themed interface for both users and administrators.
- User & Admin Account:
- Email: johndoe200@gmail.com
- Password: ExplicitCyclo
- Sample csv file for batch create:
LibraryPlus offers a seamless, digital-first approach to managing libraries efficiently. Users can easily browse, borrow, and buy books, while administrators gain powerful tools for inventory control, loan management, and user oversight. The built-in analytics and AI assistant further enhance library operations.
- Book Discovery: Browse and search the library catalog
- Borrowing System: Request books and track approvals
- Return Management: Submit return requests
- Purchase Books: Buy books with Stripe integration
- Personal Dashboard: Monitor borrowing history
- Notifications: Get alerts on due dates and approvals
- User Profile: Manage personal information
- Dashboard: View library analytics and stats
- Book Management: Add, edit, and delete books
- Batch Uploads: Upload multiple books via CSV
- Loan Handling: Approve/reject borrow requests
- Return Processing: Manage overdue books
- User Management: Track user activity
- Sales Tracking: Monitor purchases
- AI Assistant: Smart suggestions for admin tasks
- Reports & Analytics: Gain insights on library usage
- Node.js (v14 or higher)
- npm or yarn
- PostgreSQL
- Stripe account for payments
-
Clone the Repository
git clone https://github.com/yourusername/library-plus.git cd library-plus -
Backend Setup
cd backend npm install npm run start:dev -
Frontend Setup
cd frontend npm install --force npm run dev -
Configure Environment Variables Create a
.envfile in the backend directory with:DATABASE_URL="your_postgresql_database_url" PORT=6001 JWT_SECRET="your_jwt_secret" CLOUD_NAME="your_cloudinary_cloud_name" API_KEY="your_cloudinary_api_key" API_SECRET="your_cloudinary_api_secret" BASE_URL="http://localhost:6000" HOST_EMAIL_ADDRESS="your_host_email_address" HOST_EMAIL_PASSWORD="your_host_email_password" STRIPE_TEST_KEY="your_stripe_test_key" GROQ_API_KEY="your_groq_api_key" -
Run the Application
- Frontend: http://localhost:3000
- Backend API: http://localhost:6001
- Register/Login
- Sign up and log in to access features.
- Find Books
- Search by title, author, or category.
- Borrow Books
- Request to borrow books and await approval.
- Return Books
- Initiate return requests for borrowed books.
- Purchase Books
- Buy books via Stripe and track purchase history.
- Admin Login
- Use provided credentials to access the admin panel.
- Manage Books
- Add, update, delete, or bulk upload books.
- Handle Borrow Requests
- Approve or reject loan requests.
- Manage Users
- Track user activity and borrowing history.
- View Reports
- Access analytics on library usage.
- Frontend: Next.js, React, Tailwind CSS
- Backend: Node.js, Express
- Database: PostgreSQL
- Authentication: JWT
- Payments: Stripe
- File Uploads: Cloudinary, Multer
- AI Features: Groq API
LibraryPlus is licensed under the MIT License.