{"id":17880586,"url":"https://github.com/adilmohak/spring-mvc-bookstore","last_synced_at":"2026-04-02T18:38:11.094Z","repository":{"id":165159580,"uuid":"431366386","full_name":"adilmohak/spring-mvc-bookstore","owner":"adilmohak","description":"A spring MVC simple project, bookstore management system","archived":false,"fork":false,"pushed_at":"2023-01-22T07:35:08.000Z","size":1301,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T18:59:25.025Z","etag":null,"topics":["apache-tomcat-9","bookstore-management-system","bootstrap4","java","jdbc","jsp","jsp-servlet","mysql","servlet","spring-mvc","spring-mvc-crud"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adilmohak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-24T06:05:08.000Z","updated_at":"2025-04-02T19:07:46.000Z","dependencies_parsed_at":"2024-07-26T21:21:00.139Z","dependency_job_id":null,"html_url":"https://github.com/adilmohak/spring-mvc-bookstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adilmohak/spring-mvc-bookstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adilmohak%2Fspring-mvc-bookstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adilmohak%2Fspring-mvc-bookstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adilmohak%2Fspring-mvc-bookstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adilmohak%2Fspring-mvc-bookstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adilmohak","download_url":"https://codeload.github.com/adilmohak/spring-mvc-bookstore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adilmohak%2Fspring-mvc-bookstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-tomcat-9","bookstore-management-system","bootstrap4","java","jdbc","jsp","jsp-servlet","mysql","servlet","spring-mvc","spring-mvc-crud"],"created_at":"2024-10-28T12:26:02.943Z","updated_at":"2026-04-02T18:38:11.057Z","avatar_url":"https://github.com/adilmohak.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookstore management system\n\n## Technologies used:\n\t- Server: Apache Tomcat 9.0.55\n\t- Database: MySQL\n\t- Backend\n\t\t- JDBC\n\t\t- Spring MVC\n\t\t- Servlet\n\t- Frontend\n\t\t- JSP\n\t\t- Bootstrap\n\t\t- CSS\n\n## Project Perspective:\n\n\t- User management(only for Admins and Employees(not for customers)):\n\t\t- Register\n\t\t- Login/Logout\n\t- Customers view or find books easly without going anywhere\n\t- Customers can search books by title using search input or by clicking \n\t  tags specified on the home page\n\t- After customers select their books, then employees sells selected books \n\t\tto the customer by adding customer and purchase detail\n\t- Admin can Add, Edit and Delete employees\n\t- Admin can Add, Edit and Delete books\n\t- Admin can Add, Edit and Delete purchases\n\t- Admin can view, and Delete feedbacks\n\t- Customers can give feedback\n\t- Stores purchase history\n\t- The header navbar only display for Admin\n\n## Tables creation queries:\n\n**Before running the project, create the tables by running this sql commands**\n```sql\ncreate table bookstore.user\n(\n\tid int(50) primary key auto_increment, \n\tfirst_name varchar(220),  \n\tlast_name varchar(220), \n\tphone varchar(120), \n\temail varchar(120), \n\tpassword varchar(220),\n\tdate_created timestamp default now()\n);\n```\n```sql\ncreate table bookstore.admin\n(\n\tid int(50) primary key auto_increment, \n\tuser_id int(45),  \n\tis_admin boolean default(false),\n\tFOREIGN KEY (user_id) REFERENCES bookstore.user(id)\n);\n```\n```sql\ncreate table bookstore.book\n(\n\tid int(50) primary key auto_increment, \n\ttitle varchar(220), \n\tauthor varchar(120), \n\tgenre varchar(120), \n\tdescription text, \n\tdate_created timestamp default now(), \n\tcopy int(10), \n\tprice decimal(2)\n);\n```\n```sql\ncreate table bookstore.employee\n(\n\tid int(50) primary key auto_increment, \n\tname varchar(120), \n\tsalary decimal(50), \n\tdepartment varchar(120), \n\treg_date timestamp default now()\n);\n```\n```sql\ncreate table bookstore.feedback \n(\n\tid int(50) primary key auto_increment, \n\tname varchar(120), \n\tphone varchar(120), \n\temail varchar(120), \n\tfeedback text, \n\tdate_created timestamp default now()\n);\n```\n```sql\ncreate table bookstore.purchase_detail\n(\n\tid int(50) primary key auto_increment,  \n\tname varchar(120), \n\tphone varchar(120), \n\tbooks text, \n\tquantity int(50), \n\ttotal_price decimal(50), \n\tdate_purchased timestamp default now()\n);\n```\n## Useful? Give it a star✨✨🤩\n# Thanks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadilmohak%2Fspring-mvc-bookstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadilmohak%2Fspring-mvc-bookstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadilmohak%2Fspring-mvc-bookstore/lists"}