Git Product home page Git Product logo

singh728om / microserviceapplication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamviditagarwal/microserviceapplication

0.0 1.0 0.0 12 KB

This project contains a small app which is based on the Microservice Architecture. This app is made for hands on session in my talk on Building Apps in Microservice style. The talk is given at GDG WebDev Day 3

Dockerfile 4.53% JavaScript 66.75% HTML 28.72%

microserviceapplication's Introduction

Building Microservices with Node, Docker and Nginx

  1. What is a Microservice
  2. How do we make one?
  3. How do we make them work together?

Rule of thumb thoughts

Docker containers = good for almost all project sizes Microservices = good for big companies with a lot of code and people Sweetspot = Monolith app and databases in containers

Pre-requisites

  1. Node & Npm
  2. Text Editor
  3. Docker

Install the NodeJs

Do the following instructions:

  1. curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
  2. sudo apt install nodejs
  3. Verify the installation: node --version && npm --version

Install Docker

  1. Run the following instructions
  2. sudo apt-get update
  3. sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
  4. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  5. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  6. sudo apt-get update
  7. sudo apt-get install docker-ce
  8. sudo docker run hello-world

Install Docker Compose:

  1. sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  2. sudo chmod +x /usr/local/bin/docker-compose
  3. To verify the installation: docker-compose --version

microserviceapplication's People

Contributors

iamviditagarwal avatar

Watchers

James Cloos 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.