detds /
project-spring-java-17
A simple implementation of a backend shopping system created with Spring Boot framework and Java, using Spring Data JPA/Hibernate to interact with PostgreSQL database.
Loading repository data…
sarthak03dot / repository
A Spring Boot 3.5.5 + Java 17 based assignment project implementing two REST API tasks with proper layered architecture, validation, exception handling, H2 database integration, testing, and a modern interactive preview dashboard.
A Spring Boot 3.5.5 + Java 17 based assignment project implementing two REST API tasks with proper layered architecture, validation, exception handling, H2 database integration, testing, and a modern interactive preview dashboard.
Implements text transformation rules based on input length.
Fetches live weather data from Open-Meteo API, extracts maximum values, stores results in database, and returns structured responses.
src/
├── main/
│ ├── java/com/example/screen_test/
│ │ ├── config/
│ │ │ └── AppConfig.java
│ │ │
│ │ ├── controller/
│ │ │ ├── ForecastController.java
│ │ │ └── TextReplaceController.java
│ │ │
│ │ ├── dto/
│ │ │ ├── ForecastRequest.java
│ │ │ ├── ForecastResponse.java
│ │ │ ├── ErrorResponse.java
│ │ │ └── OpenMeteoResponse.java
│ │ │
│ │ ├── entity/
│ │ │ └── ForecastRecord.java
│ │ │
│ │ ├── exception/
│ │ │ ├── GlobalExceptionHandler.java
│ │ │ └── UpstreamApiException.java
│ │ │
│ │ ├── repository/
│ │ │ └── ForecastRepository.java
│ │ │
│ │ ├── service/
│ │ │ ├── ForecastService.java
│ │ │ └── TextReplaceService.java
│ │ │
│ │ └── ScreenTestApplication.java
│ │
│ └── resources/
│ ├── application.properties
│ └── static/
│ └── index.html
│
└── test/
└── java/com/example/screen_test/
├── controller/
│ ├── ForecastControllerTest.java
│ └── TextReplaceControllerTest.java
│
├── service/
│ └── ForecastServiceTest.java
│
├── integration/
│ └── ForecastIntegrationTest.java
│
└── ScreenTestApplicationTests.java
GET /api/v1/replace?text=value
*$GET /api/v1/replace?text=elephant
Response:
*lephan$
GET /api/v1/replace?text=abc
Response:
*b$
GET /api/v1/replace?text=hi
Response:
(empty body)
GET /api/v1/replace?text=a
Response:
{
"timestamp": "...",
"status": 400,
"error": "Bad Request",
"message": "Text must contain at least 2 characters",
"path": "/api/v1/replace"
}
POST /api/v1/forcast
{
"addTemprature": true,
"addHumidity": true,
"addWindSpeed": true
}
This API:
https://api.open-meteo.com/v1/forecast
{
"maxTemperature": 31.7,
"maxHumidity": 89.0,
"maxWindSpeed": 15.6,
"message": "Forecast saved successfully"
}
{
"status": 400,
"error": "Bad Request",
"message": "All request body parameters are mandatory"
}
{
"status": 502,
"error": "Upstream API Unreachable",
"message": "Connection to the upstream is unreachable"
}
{
"status": 500,
"error": "Internal Server Error",
"message": "Something went wrong"
}
Open:
http://localhost:8080/h2-console
Credentials:
JDBC URL: jdbc:h2:mem:forecastdb
Username: sa
Password: (leave empty)
Run query:
SELECT * FROM FORECAST_RECORDS;
A modern UI dashboard is included for testing both APIs directly from browser.
Open:
http://localhost:8080
Features:
git clone <your-repo-url>
cd screen-test
mvn clean install
mvn spring-boot:run
mvn test
Includes:
Sarthak Singh
Selected from shared topics, language and repository description—not editorial ratings.
detds /
A simple implementation of a backend shopping system created with Spring Boot framework and Java, using Spring Data JPA/Hibernate to interact with PostgreSQL database.
joeltadeu /
This project contains basic operations to simulate a ATM machine as get account balance and dispense money using a microservice architecture with spring-boot, sprinc-contract-test and java 17
ViniciusDamasceno01 /
📊 API de Cadastro de Usuários e Produtos - Spring Boot Projeto backend desenvolvido com Java 17 e Spring Boot, com foco em boas práticas de desenvolvimento, modelagem de domínio e construção de APIs RESTful. A aplicação realiza o cadastro de usuários e produtos, utilizando banco de dados em memória (H2) e testes via Postman.
PxS00 /
A production-ready REST API for educational forum management built with Java 17 and Spring Boot 3. Features JWT authentication, role-based authorization, soft delete, Flyway migrations, Swagger documentation, automated testing with H2, and a clean layered architecture designed for scalability and maintainability.
math3ussdl /
Este repositório contém uma aplicação Java Spring Boot que oferece dois endpoints: um para encontrar palíndromos em uma matriz quadrada de caracteres, e outro para obter a lista de rodadas e suas respectivas palavras encontradas
Alice7H /
Java RESTful API criada para o Santander Bootcamp 2023 - Fullstack Java+Angular