Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

java-spring-boot

Overview

This is a simple Spring Boot application that exposes REST endpoints to return predefined messages.

Project Structure

AppController.java: Contains the REST API endpoints.

@RestController: Indicates that this class handles REST requests.

@RequestMapping("/app"): Maps all endpoints under /app.

@GetMapping("/msg"): Returns a welcome message.

@GetMapping("/name"): Returns a predefined name message.

Technologies Used

Java – The primary programming language for the application.

Spring Boot – A framework for building Java-based RESTful web services.

Maven – Dependency management and build automation tool.

Endpoints

1. Get Message

URL: localhost:8080/app/msg

Output:Message Response

1. Get Name

URL: localhost:8080/app/name

Output:Message Response

How to Run

Ensure you have Java 17+ and Spring Boot installed.

Run the project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages