Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrtimeey/secret-santa
Application for managing remote secret-santa groups.
https://github.com/mrtimeey/secret-santa
java secret-santa spring-boot vuejs
Last synced: 11 days ago
JSON representation
Application for managing remote secret-santa groups.
- Host: GitHub
- URL: https://github.com/mrtimeey/secret-santa
- Owner: MrTimeey
- License: mit
- Created: 2020-12-06T15:33:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-25T14:27:20.000Z (over 3 years ago)
- Last Synced: 2024-10-10T18:44:08.185Z (28 days ago)
- Topics: java, secret-santa, spring-boot, vuejs
- Language: Java
- Homepage:
- Size: 363 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secret Santa [![CI-Build](https://github.com/MrTimeey/secret-santa/actions/workflows/ci-build.yml/badge.svg)](https://github.com/MrTimeey/secret-santa/actions/workflows/ci-build.yml) [![Publish Docker image](https://github.com/MrTimeey/secret-santa/actions/workflows/publish_docker_image.yml/badge.svg)](https://github.com/MrTimeey/secret-santa/actions/workflows/publish_docker_image.yml)
The-Secret-Santa should help groups to organize their secret-santa groups while they can't meet in person.
Besides that it's a learning project for various technologies.## Local development
For local development you need to execute the following steps.
### Backend
1. Create '.env' file in root directory
```shell
MONGO_PASS=...
MONGO_ROOT_PASS=...
SPRING_MAIL_PASS=...
```
2. Start mongo db via docker-compose
```shell
docker-compose --file docker-compose.yml --file docker-compose-local.yml up -d mongo-database
```
3. Run maven clean install
```shell
mvn clean install
```
4. Start application
4.1 Plain start
```shell
java -Dspring.profiles.active=local -jar secret-santa-service/target/secret-santa-service-0.1.0-SNAPSHOT.jar
```
4.2 Start with setting passwords
```shell
java -Dspring.profiles.active=local --MONGODB_PASSWORD= --MAIL_PASSWORD=6wE$hk= -jar secret-santa-service/target/secret-santa-service-0.1.0-SNAPSHOT.jar
```### Frontend
1. Install dependencies```shell
npm --prefix secret-santa-ui/ install
```2. Start application
```shell
npm --prefix secret-santa-ui/ run serve
```### Backend standalone
1. Start backend standalone via docker-compose
```shell
docker-compose --file docker-compose.yml --file docker-compose-local.yml up secret-santa-service
```## Maven profiles
| Profile | Description |
| ------------- |:-------------:|
| mutationTest | Run mutation tests with [pitest](https://pitest.org/). Report is generated in target/pit-report. |