Git Product home page Git Product logo

venus-init's Introduction

venus-init

Venus-init is the tool for spring application development. You can start a Spring Boot application with a single command.

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

Note

You need to copy all the files in the project that createad by cli into another project

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

venus-init's People

Contributors

detectivehlh avatar

Stargazers

PageLiu avatar ε―’ζ±€ avatar crush avatar Ming Gong avatar zp avatar

Watchers

James Cloos avatar

Forkers

camark

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.