Skip to content

This is a simple Node.js microservice for educational purposes, capable of both serving and calling other microservices.

License

Notifications You must be signed in to change notification settings

dm-academy/node-svc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-svc, a microservice learning example

Written for SEIS664, IT Delivery, at the University of St. Thomas (St. Paul, MN).

A simple Node microservice showing use of node-fetch and express with async logic. Calls itself recursively, effectively implementing an Aggregator pattern (or anti-pattern, if you prefer). Right now the recursion is depth-only, a fanout approach is in the works and ultimately hope to have a randomizable combination of breadth and depth traversal (emulating a mesh of arbitrary complexity).

Includes simplest possible Mocha/Chai test. Includes a variety of provisioning and configuration resources (shell, Terrform, Packer, Ansible, Docker, Kubernetes) and basic Github Actions pipeline for testing, building, pushing to gcr.io, and deploying to Kubernetes.

Not all scripts are executable; some are for reference only (e.g. logging.sh).

See https://github.com/dm-academy/dp-course for associated tutorial.

About

This is a simple Node.js microservice for educational purposes, capable of both serving and calling other microservices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •