Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csalih/estore
An example e-commerce web application implemented with Java, Spring, Hibernate, MySQL
https://github.com/csalih/estore
aspectj checkstyle cucumber graphwalker hibernate java junit4 mysql selenium spotbugs spring test test-driven-development testing-tools
Last synced: 3 days ago
JSON representation
An example e-commerce web application implemented with Java, Spring, Hibernate, MySQL
- Host: GitHub
- URL: https://github.com/csalih/estore
- Owner: CSalih
- License: agpl-3.0
- Created: 2020-04-29T06:35:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T12:13:17.000Z (over 4 years ago)
- Last Synced: 2024-11-17T15:56:11.876Z (2 months ago)
- Topics: aspectj, checkstyle, cucumber, graphwalker, hibernate, java, junit4, mysql, selenium, spotbugs, spring, test, test-driven-development, testing-tools
- Language: Java
- Size: 664 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eStore
An example e-commerce web application implemented with Java, Spring, Hibernate and MySQL.
Based on https://github.com/KevalSanghavi/eStore
## How to Start
### Requirements
- [Eclipse for Enterprise Java Developers](https://www.eclipse.org/downloads/packages/)
- JDK8
- Tomcat
- installed and available in Eclipse
- MySQL
- with a new empty database named `estore`### Steps
**Clone Repository**
`git clone https://git.uibk.ac.at/c7031224/sq-online-shop`
**Import to Eclipse**
File > Import > Maven > Existing Maven Projects
Adjust Build Path if necessary (JDK8).
**Configure Database**
Adjust the connection settings for the database in the application context XML.
`src/main/webapp/WEB-INF/application-context.xml`
```xml
```**Build Project**
Right click on project: Run as > Maven install
**Run Project**
Right click on project: Run as > Run on Server
Access the online application at http://localhost:8080/eStore
**Create Administrator User**
After the first run, the application created the tables in the database. Now you can add the administrator `admin` with the password `admin` by executing the following SQL.
```sql
-- Authorities table:
INSERT INTO `estore`.`authorities` (`authoritiesId`, `authority`, `username`) VALUES ('1', 'ROLE_ADMIN', 'admin');-- Users table:
INSERT INTO `estore`.`users` (`usersId`, `customerId`, `enabled`, `password`, `username`) VALUES ('1', '0', '1', '$2a$10$sTgPUNcpmNzPpNoyMoyCNOu2TISiY.kxxs7TtxyVxvQBTpXgjcqBq', 'admin');
```## Business Flow
![business flow diagram](docs/Business Flow Diagram.jpg)