项目作者: d-klotz

项目描述 :
E-commerce backend built with java and spring
高级语言: Java
项目地址: git://github.com/d-klotz/java-spring-ecommerce-backend.git
创建时间: 2020-04-13T09:14:59Z
项目社区:https://github.com/d-klotz/java-spring-ecommerce-backend

开源协议:

下载


E-commerce Backend Java Spring Application

:electric_plug: Requirements

  • Java 8
  • Maven
  • Docker

:closed_lock_with_key: Initital Instructions

Installing MySql Container

In order to run the project, you will need a MySQl docker container running.

  1. # Download and run mysql
  2. $ docker run -p 33061:3306 --name ecommerce -e MYSQL_ROOT_PASSWORD=root -d mysql:latest

If you change MySQL port or root password, you have to change it in the application.properties file.

:zap: Running the Application

Getting started the API Restful backend

Clone this repository and install all dependencies.

  1. # Install all dependencies using Maven
  2. $ mvn install

Start the project running the file EcommerceApplication.java. Or if you prefer, you can run it on docker:

  1. $ docker run -p 8080:8080 daklotz/ecommerce:0.0.1-SNAPSHOT

Contact me on LinkedIn