Skip to content

Simple RESTful API built with Java and Spring Boot for learning backend development.

Notifications You must be signed in to change notification settings

Djalm4/Web-Api-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ My First Web API โ€“ Spring Boot

A simple RESTful API built with Java and Spring Boot, focused on learning backend development fundamentals.

This application simulates user management operations such as create, read, update, and delete (CRUD), using a mocked repository layer (no database integration).


๐Ÿ› ๏ธ Tech Stack

Java Spring Boot Maven REST API


๐Ÿ—๏ธ Architecture

The project follows a layered architecture pattern:

Controller โ†’ Service โ†’ Repository (Mocked)

  • Controller Layer โ€“ Handles HTTP requests and REST endpoints
  • Service Layer โ€“ Contains business logic
  • Repository Layer โ€“ Simulates data persistence using an in-memory structure

๐Ÿ”— REST Endpoints

Method Endpoint Description
POST /users Create a new user
GET /users Retrieve all users
GET /users/{id} Retrieve user by ID
PUT /users/{id} Update a user
DELETE /users/{id} Delete a user

๐ŸŽฏ Project Goals

  • Practice REST API development with Spring Boot
  • Understand layered architecture concepts
  • Learn HTTP methods and REST conventions
  • Simulate data persistence without a database

โ–ถ๏ธ How to Run

mvn spring-boot:run

About

Simple RESTful API built with Java and Spring Boot for learning backend development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages