Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 1.72 KB

readme.md

File metadata and controls

82 lines (52 loc) · 1.72 KB

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

  • Angular
  • Bootstrap
  • Service Worker (@angular/pwa)
  • Websocket (for Chat)
  • GraphQL (Apollo Angular)

geolud-server-node

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

  • NestJS
  • TypeORM
  • MongoDB
  • GraphQL Server

geolud-server-java

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

  • Spring: Boot 2 / Cloud / Data / Reactive (Mongo, Websockets, WebFlux)
  • Netty
  • MongoDB

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