/helloJSON

Example API from Spring website

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

Hello, JSON!

Classic "Hello, World!" remade it with Spring.

Build an endpoint which any browser can connect to. Even can send it your name, and it will respond to you with a JSON object.

Tech

  • Languages: Java.
  • Libraries: SpringBoot.

Installation

  1. Download this repo in your local machine.

  2. Move inside the folder where downloaded this repo.

  3. Execute the follow command:

    • MacOS/Linux:
    ./mvnw spring-boot:run
    • Windows:
    mvnw spring-boot:run
  4. Open your browser and enter this location: http://localhost:8080/salute.

Author

License