Skip to content

aleksanderndoci/spring-boot-ctreedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-ctree-db

Build Status Coverage Status License

Spring Boot C-Tree application sample app.

Requirements

For building and running the application you need:

Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.example.ctreedb.CtreedbApplication class from your IDE.

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

Running the application locally

The application by default will start at port 8081.

You can configure the port or C-Tree DB Connection details updating file:

src/main/resources/application.properties

The application has 2 api-s:

  • POST a user:
http://localhost:8081/users/save
BODY: {
           "userId": 1,
           "name": "User Name"
       }
  • GET a user:
http://localhost:8081/users/{userId}

Copyright

Released under the Apache License 2.0. See the LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages