项目作者: yeukfei02

项目描述 :
Help you to record and find flower + shop
高级语言: Kotlin
项目地址: git://github.com/yeukfei02/flowerShopApi.git
创建时间: 2020-04-19T08:30:16Z
项目社区:https://github.com/yeukfei02/flowerShopApi

开源协议:MIT License

下载


flowerShopApi

Help you to record and find flower + shop

documentation: https://documenter.getpostman.com/view/3827865/SzfCU5nA?version=latest

Requirement

  • install java (1.8+)

Testing and run

  1. // show gradle tasks
  2. $ ./gradlew tasks --all
  3. // build jar
  4. $ ./gradlew build
  5. // run jar
  6. $ java -jar build/libs/flowerShopApi-1.0.0.jar
  7. // start project
  8. - run Main.kt
  9. // run test case
  10. $ ./gradlew test

open project in intellij idea

open localhost:7000

Docker

  1. // build images and start container in one line
  2. docker-compose up -d --build
  3. // go inside container
  4. docker exec -it <containerId> /bin/bash
  5. // check container logs
  6. docker logs <containerId>
  7. // remove and stop container
  8. docker-compose down

open localhost:7000

Contributing

Please refer to CONTRIBUTING.md