Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petrmac/crag-db
A database of sport climbing crags
https://github.com/petrmac/crag-db
axon-framework cqrs dgs-framework event-sourcing graphql java neo4j sport-climbing
Last synced: 16 days ago
JSON representation
A database of sport climbing crags
- Host: GitHub
- URL: https://github.com/petrmac/crag-db
- Owner: petrmac
- License: apache-2.0
- Created: 2024-10-05T10:55:38.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T14:15:48.000Z (about 2 months ago)
- Last Synced: 2024-10-29T15:56:47.348Z (about 2 months ago)
- Topics: axon-framework, cqrs, dgs-framework, event-sourcing, graphql, java, neo4j, sport-climbing
- Language: Java
- Homepage:
- Size: 179 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Maintainability](https://api.codeclimate.com/v1/badges/59f16110623a9b5801d2/maintainability)](https://codeclimate.com/github/petrmac/crag-db/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/59f16110623a9b5801d2/test_coverage)](https://codeclimate.com/github/petrmac/crag-db/test_coverage)# Crag DB
A project of route database for sport climbers. I wanted to learn new things and discover the capabilities of the Neo4j and Axon.## Prerequisites
- `Java 21`
- `skaffold`
- `minikube` or other local kubernetesFor minikube please follow the instructions on the [official site](https://minikube.sigs.k8s.io/docs/start/).
## How to run
First run the `minikube` and switch to the proper context.Then issue the following:
```shell
./gradlew clean build
skaffold dev
```This will start the app with all dependencies in the kubernetes cluster.
The application does not have any ingress or UI configured yet, the GraphQL API can be accessed via port-forwarding.## Local build
Start docker containers via the compose file below and run app in your IDE.
### Run docker-compose
This will start in interactive mode and you can see the logs.
```shell
docker compose up
```Alternatively, you can run it in the background.
```shell
docker compose up -d
```