A monolith and open source e-commerce based on springboot tech stack with rest API service and freemark backend management GUI.
This prototype can provide the most of common REST APIs for below mudules It will be splitted into multiple micro service in another repository using spring cloud tech stack.
- Shopping cart
- Category
- Product
- Order
- Inventory
- User For fontend web project, it is still in progress status.
Clone the repository: $ git clone https://github.com/weixuan2008/dingding-monolith.git
If this is your first time using Github, review http://help.github.com to learn the basics.
You can also download the zip file containing the code from https://github.com/weixuan2008/dingding-monolith/archive/master.zip
From the command line with Maven installed:
$ cd dingding-monolith-master
$ mvn clean install -Dmaven.test.skip=true
$ cd dingding-micro-service
$ mvn spring-boot:run
Right click on com.hy.micro.service.dingding.DingdingService
run as Java Application or springboot
1. build image from Dockerfile
docker build -t dingding-v1.0
2. docker run -d --name dingding -p 9600:9600 -t dingding-v1.0
Access the deployed web application at: http://localhost:9600/
Acces the admin section at: http://localhost:8080/admin
#####username : admin #####password : password
The instructions above will let you run the application with default settings and configurations. Of cause, you can change application.yml file to customize yourself configuration. Please read the instructions on how to connect to MySQL, configure an email server and configure other subsystems
TODO