Reda-ELOUAHABI / BirdSquawk-App

A demonstration of Microservices using NodeJS (microservices-nodejs-mern)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BirdSquawk-App

Instructor: Kurt VanDusen, sole-member, Equational Applications LLC, Grand Rapids, MI, USA

A demonstration of Microservices using NodeJS. This demonstration app is part of the Jamstack E-Degree from Eduonix.

Jamstack E-Degree From Eduonix

Installation

  1. git clone https://github.com/equationalapplications/BirdSquawk-App/
  2. cd BirdSquawk-App/BirdSquawks-Service
  3. npm install
  4. cd ../Peeps-Service
  5. npm install
  6. cd ../Query-Service
  7. npm install
  8. cd ../front-end
  9. npm install

Set-up Environment

You will need Docker, Kubernetes, Skaffold and Ingress Nginx installed in your development environment.

Install Docker Desktop on Windows or MacOS. Install Docker on Linux.

Install Kubernetes on Linux

Install Skaffold

Install Ingress Nginx

Customize local hosts file

You will also need to customize your local hosts file to point birdsquawk-app.dev to your localhost IP address.

Windows: c:\Windows\System32\Drivers\etc\hosts

macOS and Linux: /etc/hosts

Open your hosts file and add the following line at the bottom: 127.0.0.1 birdsquawk-app.dev

Runnning the Microservices

From a terminal in the root dirctory of BirdSquawk-App, run the following command: skaffold dev

Allow time for all of the services to start and connect. Stop any pods which fail to connect. They will restart automatically.

Open your browser and navigate to http://birdsquawk-app.dev/. You may get a security warning. To bypass this in chrome, type "thisisunsafe" directly in the browser window.

About

A demonstration of Microservices using NodeJS (microservices-nodejs-mern)


Languages

Language:TypeScript 57.3%Language:JavaScript 27.9%Language:CSS 12.5%Language:Dockerfile 2.3%