- Full-features full-fledged production-grade eCommerce modern web application powered by Spring Boot and Angular
JDK 11 (LTS)Node 12.18.3 (LTS)NPM 6.14.6MySQL Server 8IntelliJ IDEAPostman or InsomniaMaven(forProduction Environmentonly).
- Open root folder in
IntelliJ IDEA. - Edit file
application.yml(MySQL server's account and version) according to your database or setup environment variables. - Running the first 2 lines in file
db/run.sqlto create a database (schema) nameflowershopin the MySQL Server. - Launch Spring Boot
FlowershopApplication. The tables will be create if run the first time. - Run the rest in file
db/run.sqlto fill default data for our application. - In
Postman, callPOSTathttp://localhost:8080/api/testwith theJSON bodycopied fromdb/mock-test.json. - In
Postman, callPOSTathttp://localhost:8080/api/productwith theJSON bodycopied fromdb/product.json. - Run
npm installincmd(orterminal) insidefrontendfolder. - Open
frontend/package.jsonand click on thegreen arrowbesidestart-devto runfrontendin development mode. - Open browser at
http://localhost:4200to access our application.
- Production environment needs only
JDK 11,MavenandMySQL Server 8installed. Then setupdatabaseandapplication.propertiesproperly as inDevelopment Environment. - Run
mvn packageincmdinside root folder. This will create aJarpackage insidetargetfolder namedflowershop-1.0.jar. - Run this
Jarpackage incmdby this commandjava -jar target/flowershop-1.0.jar. - Access our application via an endpoint, for example an
AWS Cloud Endpoint.
- Guess Site shop page

- Guess Site shopping cart

- Member Site account details

- Admin Site products listing

- Admin Site transaction summary

- Admin Page create new product

- Admin Page import products from Excel

- Admin Page export products to Excel

- Admin Page edit product

- Admin Page batch delete

- Product details displays when clicked

[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ flowershop ---
[INFO] Building jar: /home/lavantien/Documents/dev/flowershop/target/flowershop-1.1.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.3.2.RELEASE:repackage (repackage) @ flowershop ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.918 s
[INFO] Finished at: 2020-08-07T00:57:12+07:00
[INFO] ------------------------------------------------------------------------