Git Product home page Git Product logo

coupons's Introduction

Coupon Service

Getting Started

Prerequisites

Tools

  • style check with google java style
  • integrate findbugs to quantity check
  • integrate jacoco for test coverage
  • integrate flyway to do migration
  • integrate Orika to do object mapping
  • use git properties to provide service info
  • use spring boot builtin build info to provide service info
  • integrate querydsl to enhance db query and custom repository factory bean to provide join fetch
  • schedule with quartz
  • jsr303 support
  • lombok integrate
  • Java SE8 Date & Time
  • support query/path params validator
  • integrate springfox api documentation

Credential

  1. coupons service not integrate any account system or authorization strategy like OAuth, it can be extended simply by defining some filter.
  2. at current, it simply extract operator information from specific headers
  • account type definitions: SYSTEM, VENDOR, STORE, CLIENT

  • Account_Type Vendor_Id Store_Id Open_Id
    SYSTEM N/A N/A N/A
    VENDOR REQUIRED N/A N/A
    STORE REQUIRED REQUIRED N/A
    CLIENT N/A N/A REQUIRED

Doc

Visit http://localhost:8080/swagger-ui.html

Build

Run gradle for clean build

Debug

  1. Run gradle bootRun to start application
  2. Attach 5005 to remote to fire a debug

Live-Reload

  1. Run gradle bootRun to start application also it will trigger spring boot devTools
  2. Code in idea and press CMD+Shift+F9 to compile current class

Note

  1. Please change to public repository before build
  2. Any class located in base or common will be move to chainz-core in future
  3. Should cover unit tests
  4. Should integrate authorization strategy in future

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.