Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/beaverhouse/announcement-server-java

An announcement server powered by Spring Boot
https://github.com/beaverhouse/announcement-server-java

announcement api-rest java spring-boot

Last synced: 27 days ago
JSON representation

An announcement server powered by Spring Boot

Awesome Lists containing this project

README

        


Logo


An announcement server powered by Spring Boot




Bug Report
|
Request



Spring Boot


Oracle Cloud


Gradle


## Overview

An announcement server built with Spring Boot and JPA.
Provides RESTful APIs and uses the Oracle Autonomous Database.


## Prerequisites

1. You need to have Java 17 installed.
2. You need to set environment variables in `application.properties` file.

```txt
spring.datasource.url="jdbc-url"
spring.datasource.username="username"
spring.datasource.password="password"
```


## Run in the local environment

**Run the application**

```
./gradlew bootRun
```

**Build the project**

```
./gradlew build
```


## Swagger UI

After running the server, Swagger UI is available at:

```
http://localhost:8080/swagger-ui.html
```


## Deploy the project

1. Move the built `.jar` file to the target VM or container.
2. The script is in the `scripts` folder.
3. Run the application and expose it via reverse proxy, for example, NGINX.


## Contributing

See the [CONTRIBUTING.md](./CONTRIBUTING.md).




[Spring Boot]: https://spring.io/projects/spring-boot
[Spring Data JPA]: https://spring.io/projects/spring-data-jpa
[MySQL]: https://www.mysql.com/
[Gradle]: https://gradle.org/