• Stars
    star
    183
  • Rank 208,965 (Top 5 %)
  • Language
    JavaScript
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simulate a micro frontend project using NodeJS, React and NGinx Reverse Proxy in Alpine Docker images

Micro Frontend Pages

Simulate a micro frontend project using NodeJS, React and NGinx Reverse Proxy in Alpine Docker images

This project is based on my talk at JSConf.Asia 2018 about Micro Frontend applications.

Examples of this project using Angular

To check this example using Angular in this link

Setup

Please make sure that you have Docker and Docker compose installed in your machine. After that, just run the command

$ docker-compose up
# or "docker-compose up --build"
# if you want to rebuild the containers

And, after that, you'll can check the performance of Docker images using docker stats command.

About the folders

Every folder is part of the Micro Frontend Pages demo project. In this project we have 4 folders with connected content.

Monolith

The folder monolith is the default page of our project, so when you run the project using the commands:

nvm use # or make sure you are using NodeJS v8.1.4
npm install
npm start

and access http://localhost:8888 you will see the web application with links for all other pages. This is the legacy code we are using as a base for our migration from monolith to microfrontend \o/!

NGinx

NGinx is being used to make a reverse proxy, connecting every single page as only one application for the users. It's connected with all pages and related projects.

Home

The folder home-page is the default page of our project, so when you run the containers using docker-compose up command and access http://localhost:8888 you will see the main page or our project with links for all other pages

Docs

The folder docs-page is the docs page of our project. The page is quite simple for now and it's one of the state in our project. You can access the page accessing http://localhost:8888/docs.

Checkout

The folder checkout-page is the checkout page of our project. The page is quite simple for now and it's one of the state in our project. You can access the page accessing http://localhost:8888/checkout.

Categories page

The folder items-page is the list of items page of our project. The page has a list of items by category, linking to a specific page for a item in our project. You can access the list page accessing http://localhost:8888/items and the list item page acessing http://localhost:8888/items/:id.

Author

Wilson Mendes (willmendesneto)

More Repositories

1

ngx-skeleton-loader

Make beautiful, animated loading skeletons that automatically adapt to your Angular apps
TypeScript
560
star
2

keepr

JavaScript
103
star
3

ngx-feature-toggle

Your module to handle with feature toggles in Angular applications easier.
TypeScript
99
star
4

build-checker-app

Application using ReactJS + NodeJS for to monitor build/deploy status in your Continuous Integration server
JavaScript
50
star
5

hyper-oh-my-zsh

Oh-My-ZSH theme based on hyper terminal default theme 😎
41
star
6

hex-to-css-filter

Easy way to generate colors from HEX to CSS Filters
TypeScript
37
star
7

perf-marks

The isomorphic, simplest, and lightweight solution for User Timing API in Javascript - 🚀 only 208B 🚀. Tree-shaking and entry points built-in. Simple as that!
TypeScript
36
star
8

react-sweet-wizard

Your module to handle with Form Wizards in ReactJS applications easier.
JavaScript
27
star
9

vagrant-frontend-mobile-box

Vagrant box for Ionic Developers
Shell
21
star
10

frontend-search

Shell
19
star
11

generator-reactor

Your generator for ReactJS apps
JavaScript
18
star
12

build-checker

Application using Arduino + Johnny Five + NodeJS for to monitor build/deploy status in your Continuos Integration server
JavaScript
18
star
13

angular-contact-list

JavaScript
16
star
14

vscode-file-extra

Working with files in VSCode like a boss 😎
TypeScript
15
star
15

ng-numbers-only

NG Numbers Only - Input number in a easy way in AngularJS Apps
JavaScript
15
star
16

nodebots-workshop

Nodebots Workshop using NodeJS and Johnny-five
JavaScript
15
star
17

ngOfflineModel

Your AngularJS Module for Offline operations
JavaScript
13
star
18

feature-toggle-service

The simplest solution for feature toggle in Javascript. Simple how it should be.
TypeScript
12
star
19

CI-Tools

A code generator console for Codeigniter Framework.
PHP
12
star
20

update-yeoman-generator

A script to help update repositories using Yeoman generators to the latest version
JavaScript
11
star
21

ngx-page-click

Angular module to detect page events outside your wrapped component. Flexible and easy, how it should be ⇢
TypeScript
11
star
22

angular-performance

JavaScript
10
star
23

ngx-copy-to-clipboard

Copy content to clipboard in Angular applications easier 🎯.
TypeScript
9
star
24

ngx-micro-frontend-pages

Angular Microfrontend workshop - A collection of Page Modules and Components
TypeScript
9
star
25

micro-frontend-react-pages

CSS
7
star
26

ngx-scroll-lock

Angular module for Page Scroll locking
HTML
6
star
27

reactor-feature-toggle

Feature toggle components integration for your ReactJS application
TypeScript
6
star
28

my-codeigniter-skeleton

My skeleton for application with Codeigniter PHP Framework
PHP
6
star
29

bolt-complete

Bolt command completion
JavaScript
6
star
30

angular-architecture

My architecture organization for use of AngularJS Framework
JavaScript
6
star
31

social-share

JavaScript
5
star
32

angular2-feature-toggle

Your module to handle with feature toggles in Angular2 applications easier.
JavaScript
4
star
33

willmendesneto.github.io

My personal blog
JavaScript
4
star
34

node-github-diff

Github diffs with Node style 😎
JavaScript
3
star
35

dotfiles

My OSX default configuration
Shell
3
star
36

gdg-devfest-nordeste-app

JavaScript
3
star
37

fire-alarm

A Nodebots fire alarm using NodeJS Johnny-five
JavaScript
3
star
38

pino-sanitize

PinoJS Transformer to sanitize output by removing sensitive information
JavaScript
3
star
39

aws-serverless-playground

JavaScript
3
star
40

johnny-five-from-scratch

A Introduction to Johnny-Five, the JavaScript Robotics programming framework.
JavaScript
3
star
41

generator-poi-boilerplate-demo

Demo React Component from POI boilerplate generator
JavaScript
2
star
42

bitbucket-amazing-monorepo

Improving Monorepo projects for Bitbucket users 😎
JavaScript
2
star
43

Codeigniter-TDD-with-Hooks

A codeigniter unit tests example using only hooks.
PHP
2
star
44

card

My NPM business card
JavaScript
1
star
45

nodebots-javascript-and-robotic-in-a-real-world-en

1
star
46

angular-snake

JavaScript
1
star
47

npm-package-aliases-playground

JavaScript
1
star
48

generator-poi

JavaScript
1
star
49

nodebots-javascript-and-robotic-in-a-real-world-pt-br

1
star
50

arduino-matrix-8x8

Studies based in arduino plataform
C++
1
star
51

vhost

Making virtual host maniputation tasks more easier
Shell
1
star
52

react-hcard-generator

Simple hCard generator using ReactJS
JavaScript
1
star