✨ Features
For Customers:
Browse and search books by title, ISBN, author, or category
Shopping cart with real-time totals
Secure checkout with order history
Profile management
For Administrators:
Dashboard with sales overview
Book inventory management (CRUD)
Automated stock replenishment
Sales and analytics reports
? Quick Start
# Clone the repository
git clone https://github.com/ENMaze...
# Install frontend dependencies
cd bookstoredb/frontend
npm install
# Start development server
npm run dev
Demo Accounts:
Role Username Password
Admin admin admin
Customer john_doe password
?️ Tech Stack
Frontend Backend Database
React 18 Express.js PostgreSQL
TypeScript Node.js —
Vite — —
Bootstrap 5 — —
React Router v6 — —
? Project Structure
bookstoredb/
├── frontend/ # React application
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Page components
│ │ ├── context/ # React context providers
│ │ ├── services/ # API layer
│ │ └── types/ # TypeScript interfaces
│ └── package.json
│
├── backend/ # Express API server
│ └── src/
│ ├── index.js
│ └── routes/
│
├── database/ # Database files
│ ├── schema.sql
│ └── *.json # Sample data
│
└── REPORT.md # Full project documentation