/dingding-monolith

An monolith shopping system based on springboot tech stack with rest API service and freemark backend management GUI.

Primary LanguageJavaMIT LicenseMIT

DingDing v1.0 (for java 1.8 +)

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.

See the demo:

http://www.dingding.com:8080

To get the code:

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

To build the application:

From the command line with Maven installed:

$ cd dingding-monolith-master
$ mvn clean install -Dmaven.test.skip=true

Run the application from Spring boot

   $ cd dingding-micro-service
   $ mvn spring-boot:run

Run the application from Spring boot in eclipse

Right click on com.hy.micro.service.dingding.DingdingService

run as Java Application or springboot

Run the application from docker

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 application:


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

image

image

image

image

Documentation:


TODO