1.0.7 • Published 5 years ago

venus-init v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Install

npm install venus-init

Usage

Just type the code below and follow the notice until finish the initialization.

venus init

Or you can type like this.

venus i

Example

Below is the structure of a demo project that created by the cli.

.
├── LICENSE
├── README.md
├── api
│   ├── pom.xml
│   └── src
│       └── main
│           ├── java
│           │   └── com
│           │       └── detectivehlh
│           │           └── demo
│           │               └── api
│           │                   ├── Application.java
│           │                   ├── config
│           │                   │   ├── DbConfig.java
│           │                   │   └── SwaggerConfig.java
│           │                   ├── controller
│           │                   │   └── HelloController.java
│           │                   ├── dao
│           │                   │   └── HelloMapper.java
│           │                   ├── dto
│           │                   │   └── HelloDTO.java
│           │                   ├── entity
│           │                   │   └── Hello.java
│           │                   └── service
│           │                       ├── HelloService.java
│           │                       └── impl
│           │                           └── HelloServiceImpl.java
│           └── resources
│               ├── application.yml
│               └── mapper
│                   └── HelloMapper.xml
└── pom.xml

Inside the project, we have a unit named Hello to help you understand this project more efficiently

when you start the project successfully. Visit http://localhost:8080/hello,when you see the message below, congratulations! It worked.

{
    "message": "Hello world",
    "createdAt": "current_timestamp"
}

Swagger

You can visit http://localhost:8080/swagger-ui.html to see your api documentation that generate automatically by swagger.

Licences

MIT

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago