Coder Social home page Coder Social logo

hengdlkh / sample-spring-web-simple-restcontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ingogriebsch/sample-spring-web-simple-restcontroller

0.0 0.0 0.0 217 KB

This sample shows you how to implement a simple REST controller with Spring Web (and Spring Boot)

License: Apache License 2.0

Java 100.00%

sample-spring-web-simple-restcontroller's Introduction

Spring Web simple REST controller sample

Actions Status Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating License

This sample shows how to implement a simple REST controller with Spring Web (and Spring Boot).

How to build and run

If you want to see the implementation in action, simply follow these steps:

  • First, make sure that you have Java 8 or later installed and an established Internet connection.
  • Then, clone this Git repository an cd into the project folder.
  • Now invoke ./mvnw spring-boot:run and wait a moment.

After the project is built and the Spring Boot service is running you can hit the following urls to act with the service:

Have a look into the implementation to understand which endpoints are available in addition.

Most important annotations and classes

A collection of the most important annotations and classes that are necessary to implement this use case.

Used frameworks

A collection of the mainly used frameworks in this project. There are more, but they are not that present inside the main use case, therefore they are not listed here.

Additional guides

The following guides illustrate how to implement this and related use cases.

License

This code is open source software licensed under the Apache 2.0 License.

sample-spring-web-simple-restcontroller's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ingogriebsch avatar

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.