/http-msoa

Primary LanguageJavaScript

HTTP MSOA

Demonstration on a monorepo'd approad to http msoa optimized for local development.

For use in Proxy Model or Router Mesh Model

Router Mesh Model

Features

  • fallback to defined url (example.com/<service name>)
  • automated config generator
  • automated dockerfile generator
  • common function folder

Requires

# Install Dependencies
npm install

# Build the configs and dockerfiles
npm run build-conf

# Run docker compose
#   docker-compose up --remove-orphans
docker compose up --remove-orphans
# Start all the services
npm start
#   ...then http://localhost:8080/<service name>

# ...or start an individual service
npm run start:<service name>
#   ...then http://localhost:8080/<service name>

Todo

  • default.conf
  • database
  • git diffing image builds