fischermatte / geolud

My personal over-engineered cloud-native homepage using Reactive Spring, Nest.JS, MongoDB, Angular, GraphQL. Runs on Cloud Foundry.
https://geolud.mybluemix.net
9 stars 0 forks source link
angular cloud-foundry cloud-native graphql mongodb nestjs spring-boot spring-reactive-mongodb spring-webflux websocket

geolud

WTFPL Build Status

1. What's this?

My personal 'cloud-native' homepage as a progressive web app. Totally over-engineered using the following technology stack:

geolud-client

geolud-server-node

Backend for geolud-client written in Typescript using Node.js (NestJS).

geolud-server-java

Backend for geolud-client written in Java using Spring Boot. This is currently Legacy, since it lacks a GraphQL Server.

2. How to run it locally

geolud-client

cd geolud-client
npm install
npm run start

This will run the ui locally at port 4200, connecting to the backend above at port 8080.

Open http://localhost:4200 in browser - et voila!

geolud-server-node

cd geolud-server-node
npm install
npm run start

Starts the server at port 8080 -> http://localhost:8080

geolud-server-java

cd geolud-server-java
mvn clean install
mvn spring-boot:run

Starts the server at port 8080 -> http://localhost:8080

3. Push To Cloud Foundry

geolud-client

cd geolud-client
npm run build
cf push -f dist/manifest.yaml

geolud-server-java

cd geolud-server-java
mvn package
cf push -f cloudfoundry/manifest.yaml

geolud-client-node

cd geolud-server-node
npm run build
cf push