GithubHelp home page GithubHelp logo

anthrax3 / registration-microservices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from innvtv/registration-microservices

0.0 1.0 0.0 1.29 MB

Dockerized microservices using Node.js, .Net Core and Nginx.

C# 52.12% JavaScript 33.27% CSS 2.50% HTML 6.82% Dockerfile 5.30%

registration-microservices's Introduction

Registration Microservices

Dockerized microservices using node.js, .net core and Docker Compose. Can run on the AWS, Azure, Google, IBM or other clouds. This code should be considered a template or spec to designing dockerized SaaS applications using a microservices pattern.

Notes

This sample uses a containerized MongoDB instance. For a production use case you will want to consider a managed database instance.

In a production enviornment you would want to mix in some cloud services such as a queue from AWS or Azure in place of Redis for your messaging system.

The goal with this project is to create a completly standalone set of components that can be run locally as an orchastrated microservice built with containers. I wanted to limit the amount of 3rd party dependancies and wanted a flexible codebase that cane be refactored to work with any of the major cloud platforms.

Installation

Registration Microservices uses Docker Compose to deploy images associated with each project. Each project has an associated Dockerfile.

You can run locally using:

docker-compose up

Configuration

Docker Secrets and runtime enviornment variables. Production solutions should consider RPC solutions such as Envoy or gRPC in place of Nginx.

Projects (Public)

Public Web Service

Public endpoints for registering new accounts. Uses Express, Joi and Hapi.

Public Website

Web UI for registering new accounts. Uses the MEAN stack.

Projects (Private)

Private Web Service

Internal service used by other microservices to interact with the registration system. Uses Express, Joi and Hapi.

Private Admin Console

Internal administration site that gives you visibility into new registrations, account provisioning and overall management of the microservice.

Initializer

.Net Core Console App that checks for required SQL tables and storage accounts. Creates them if they do not exist.

Worker

NodeJS worker that picks up new registrations from the Mongo instance and provisions the accounts. Should be replaced with a message queuing system in production enviornments.

registration-microservices's People

Contributors

innvtv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.