Giter Club home page Giter Club logo

microservices's Introduction

microservices

Built With

  • Node.js - JavaScript environment
  • Docker - Container technology used to package up an application with all of the parts it needs
  • Express - The web framework used
  • Nginx - Web server used as a reverse proxy

Installation

$ git clone https://github.com/romanV7/microservices
$ cd microservices && npm i
$ docker-compose up -d  
  • Check port 3000

Dependency

Used my npm package 'npm-dependency-for-microservises' for better security.

Description

I have done this project in order to understand what microservices are, how I can make them and how actually orchestrate them together. That is basically what I'm going for here

You see that I have a directory called: books, search, videos, web. Each of there are full-fledged applications, each one of these directories is actually an entire system in of itself. It has its own server, source, its own dependancies - all that. So that my project is a project of projects and that's where the micro part of all this comes in.

I like to call these directories: books, videos and this type of very natural domain-driven terms which are very closely tied to different entities within your system, I'd like to think of them as a domain services that handle every specific data structure or a data type in your system. And microservice search which is like an aggregate or a consumer that just talks througth other services to provide some type of value.

Instead of putting all of that code into one single project, I have sliced these natural pieces up to very small projects and then make them work together as a distributed system

I have made it just for learning. If this is a small project, all of this code should be in a monolithic application there is no reason to slice up something this small into microservices.
It is not really proportional to this problem.

microservices's People

Contributors

romanv7 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.