Skip to content

Microservice architecture simple Facebook prototype. Post, Comment with an Event Bus created from scratch with express.

Notifications You must be signed in to change notification settings

axyut/posting_app

Repository files navigation

An Implementation of a Post creating app with comments as a microservice for each feature. Services communicate in Async Architecture. An Event Bus created from scratch with express.

Table of Contents

About The Project

An Implementation of a Post creating app with comments as a microservice for each feature. Services communicate in Async Architecture. An Event Bus created from scratch with express.

Built With

This project is build with following languages and framework

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps. If this all is overwhelming you can try NOdockerNOkuber branch and follow the guidelines from that readme file.

Prerequisites

  • Text editor
  • Docker
  • Kubernetes
  • minikube
  • skaffold

Installation

  1. Clone the repo to your machine

  2. Make sure you're at master branch.

  3. Move toward the Root directory .

   cd posting_app_microservice_nodejs
  1. Dockerize each service
   docker build . -t <username>/<servicename>
  1. start minikube
   minikube start --driver=docker

without Skaffold

  1. Apply deployment configs
   cd /infra/k8s
   kubectl apply -y .

with Skaffold

Start skaffold developemnt environment and track file changes automatically.

   skaffold dev

Local Server

Visit http://<minikube_ip>/ Or Setup posts.com host for minikube_ip at /etc/hosts the Visit http://posts.com/

   minikube ip  (shows minikube_ip)

Working

  1. Go to Website

    This is how it look like after moving on the page.
    

  2. Post any post

  3. Post any comment

About

Microservice architecture simple Facebook prototype. Post, Comment with an Event Bus created from scratch with express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published