Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmarzzucco/deathtimewithspringboot
This is an example of how the Death Time middleware works in SpringBoot.
https://github.com/dmarzzucco/deathtimewithspringboot
api-rest backend java maven-pom middleware spring-boot
Last synced: about 1 month ago
JSON representation
This is an example of how the Death Time middleware works in SpringBoot.
- Host: GitHub
- URL: https://github.com/dmarzzucco/deathtimewithspringboot
- Owner: DMarzzucco
- Created: 2024-02-19T14:51:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T18:22:15.000Z (about 2 months ago)
- Last Synced: 2024-11-14T19:29:33.783Z (about 2 months ago)
- Topics: api-rest, backend, java, maven-pom, middleware, spring-boot
- Language: Java
- Homepage:
- Size: 22.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Death Time Middleware in APIsREST with SpringBoot
This is an example of how the Death Time middleware works in SpringBoot.
## Before Installation
Before testing the application, it is recommended to check the source code to configure the counter. The soruce code is
located at: `./src/main/java/com.DeathTime.API.Spring/middleware/DeathTimerMid.java`.```Java
ZonedDateTime deathTime = LocalDateTime.parse("0000-00-00T00:00:00").atZone(ZoneId.systemDefault());
```# Requirements
* Docker [Docker-Desktop](https://www.docker.com/products/docker-desktop/)
* .Java [Java](https://www.java.com/download/ie_manual.jsp) (Optionals)* Java Development Kit (JDK) 17 [JDK Oracle](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) (Optionals)
## Installation in Docker Container.
```bash
# Initial the App
docker-compose up
```
## In Local Machine```bash
#Start Data Base
docker-compose up db# Compile the project
.\mvnw clean install#RunApp
.\mvnw spring-boot:run
```## Port
[localhost:8080](http://localhost:8080)
## Documentation
The server code is documented in Swagger. You can access it
at [http://localhost:8080/swagger-ui/index.html](http://localhost:8080/swagger-ui/index.html)## Author
Made by Dario Marzzucco (DMarzzucco)