Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/stacenko-developer/notification-service

Сервис уведомлений
https://github.com/stacenko-developer/notification-service

java java-spring lombok mapper maven modelmapper postgresql rest-api spring spring-boot spring-framework spring-mvc swagger

Last synced: 27 days ago
JSON representation

Сервис уведомлений

Awesome Lists containing this project

README

        

# Notification service
### Сервис уведомлений

## Настройка БД
1. **Создать БД**
```
create database notification;
```

2. **Создать схемы в БД notification**
```
create schema notification;
```
3. **Запустить сервис**

Версия java

```
% java -version
openjdk version "20.0.1" 2023-04-18
OpenJDK Runtime Environment (build 20.0.1+10)
OpenJDK 64-Bit Server VM (build 20.0.1+10, mixed mode, sharing)
```

При запуске нужно указать расположение **application.yml**.

Пример запуска:
```
java -jar notification-service.jar --spring.config.location=/directory/application.yml
```

4. **Swagger**

```
http://localhost:8079/notification-service/swagger-ui/index.html#
```