Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/master4novice/ekaasaa
Spring Boot + GraphQL + WebFlux + Reactive Redis
https://github.com/master4novice/ekaasaa
graphql java reactive-programming redis spring-boot webflux
Last synced: about 1 month ago
JSON representation
Spring Boot + GraphQL + WebFlux + Reactive Redis
- Host: GitHub
- URL: https://github.com/master4novice/ekaasaa
- Owner: Master4Novice
- License: mit
- Created: 2023-04-27T17:53:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-11T16:41:29.000Z (8 months ago)
- Last Synced: 2024-05-11T17:44:59.279Z (8 months ago)
- Topics: graphql, java, reactive-programming, redis, spring-boot, webflux
- Language: Java
- Homepage:
- Size: 2.98 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EKAASAA - (GraphQL + Spring Boot + WebFlux + Redis)
- Checkout the code.
- Resolve maven dependency.
- Execute maven clean install## Start Redis Server
- Go to the location /redis
- Run redis-server.exe file.
- As per the below screen window will open that confirm your redis server## Start Spring Boot Application
- Run EkaasaaApplication.java as spring boot application.
- Application will start running on port 8080## Open GraphQL Endpoint
- Open graphql endpoint http://localhost:8080/graphiql?path=/graphql from your browser
- Refer below image for execting query on graphql## Docker Integration
- Install Docker Desktop
- Execute below command to pull latest images
```
docker pull redis
docker pull openjdk:21-slim
```
- Execute below command to run redis server on docker
```
docker run --rm -p 6379:6379 -d --name redis-es1 redis redis-server
```
- Execute below command to create network on docker and connect it with redis container
```
docker network create spring-redis-network
docker network connect spring-redis-network redis-es1
```
- Change ip address in application-docker.yml as shown below
```
redis:
host: localhost #change it to your system ip
```
- Execute below command to build the application and create image of service
```
mvn clean install
docker build -t ekaasaa-service .
```
- Execute below command to start service in a container
```
docker run -p 8082:8082 -it --rm --name ekaasaa ekaasaa-service
```## Contact Me
- For contribution/suggestion/information contact me @dwivna