Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumn2u/strangler-nodejs-example
Strangler pattern example in Nodejs with help of microservices
https://github.com/sumn2u/strangler-nodejs-example
docker express microservices mongodb nginx nodejs strangler
Last synced: 13 days ago
JSON representation
Strangler pattern example in Nodejs with help of microservices
- Host: GitHub
- URL: https://github.com/sumn2u/strangler-nodejs-example
- Owner: sumn2u
- Created: 2018-08-11T23:54:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T21:07:26.000Z (about 2 years ago)
- Last Synced: 2024-10-27T23:41:52.739Z (2 months ago)
- Topics: docker, express, microservices, mongodb, nginx, nodejs, strangler
- Language: HTML
- Homepage: https://medium.com/@sumn2u/rewriting-large-legacy-code-base-using-strangler-pattern-714dbaf2ffea
- Size: 2.16 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Strangler Nodejs Example
Simple demo application showing how legacy system can be re written using strangler pattern.
`old_pattern` folder contains legacy system and `revised_pattern` contains same system but using strangler pattern.
## Prerequisites
You will need the following things properly installed on your laptop/pc.* [Node.js](http://nodejs.org/)
* [Docker](https://www.docker.com/)
* [Nginx](https://nginx.org/)
* [MongoDB](https://www.mongodb.com/)## Installation
* `git clone ` this repository
* change into the `old_pattern` directory to run legacy system
* `docker-compose up -d`
* change into the `revised_pattern` directory to run strangle pattern system
* `docker-compose up -d`
* to stop the docker run `docker-compose up -d`## Running / Development
* `docker-compose up -d`
* Visit your app at [http://localhost:8080](http://localhost:8080).