A fully functional and modern digital bookstore built using Java Servlets, JSP, and MySQL. This platform provides a seamless experience for customers, publishers, and administrators to manage, browse, and purchase e-books online.
🔗 Coming Soon
- 🔍 Browse and search books by title, author, or category
- 🛒 Add to cart, update quantity, and remove items
- 📄 View book details with cover image, price, and author
- 🔐 User registration, login, and logout
- 📦 View order history and profile details
- 📚 Upload and manage books with images and metadata
- ✏️ Edit book details (price, description, category)
- 🗃️ Manage personal dashboard and sales stats
- 🗂️ Add and manage book categories
- 👥 Manage users and publishers
- 📘 Full book and category control
- 📈 Monitor sales and analytics
- ✅ Approve or remove publishers
- ⚙️ Configure system-wide settings
Layer | Technologies |
---|---|
Frontend | HTML5, CSS3, JavaScript, Bootstrap 5 |
Backend | Java Servlets, JSP, JDBC |
Database | MySQL |
Build | Apache Ant |
Styling | Font Awesome, SweetAlert2 |
JavaMail API |
BookStore/
├── src/ # Java source files (servlets)
├── web/ # Web content (JSP, CSS, JS, images)
│ ├── images/ # Book covers & assets
│ ├── css/ # Custom styles
│ └── js/ # Custom JS files
├── build.xml # Apache Ant build file
├── Database(SQL)/ # SQL schema and sample data
└── README.md # Project documentation
MySQL database named bookstore with tables:
- users – Customer and publisher accounts
- books – Book listings
- categories – Book categories
- orders – Customer orders
- cart – Shopping cart items
- publishers – Publisher profiles
- ubscribers – Newsletter emails
- contact_messages – User inquiries
- All books and categories are dynamically fetched from the database.
- Real-time search functionality filters books as the user types.
- SweetAlert2 provides beautiful and responsive alerts.
- Servlet-based routing handles authentication, cart, orders, and admin functions.
- JDK 8 or above
- Apache Tomcat 9.x
- MySQL 8.x
- Apache Ant
git clone https://github.com/SonaniAkshit/Bookstore-JspServlet.git
cd Bookstore-JspServlet
jakarta.mail-2.0.1.jar
jakarta.mail-api-2.0.1.jar
jakarta.activation-2.0.1.jar
commons-labg3-3.13.0.jar
mysql-connector-j-9.1.0.jar
- 📌Location
- Create the database:
CREATE DATABASE bookstore;
USE bookstore;
- Import the SQL file from:
Database(SQL)/bookstore (4).sql
ant clean
ant build
ant deploy
- Start Apache Tomcat
- Visit: http://localhost:8080/BookStore/
- User authentication system
- Shopping cart functionality
- Book upload and management
- Admin dashboard
- Newsletter & contact management
- SweetAlert2 notifications
- Search + category filtering
- ✅ Payment gateway integration (in progress)
- ✅ Email order confirmations
- ✅ PDF previews for books
- 🧠 Book recommendations
- 🌍 Multi-language support
- 🤝 Social media sharing
- Pull requests and feedback are welcome! Whether it's fixing bugs, improving UI, or adding features — your help is appreciated.
- Developer: Akshit Sonani
- Email: sonaniakshit684.com
- GitHub: SonaniAkshit