Nodejs Micro Services Example
Rewritting codes of this good article with TypeScript, AWS Serverless, OpenAPI3.0.
Infra Architecture for each microservice
TypeScript + Node
The main purpose of this repository is to show a project setup and workflow for writing microservice. The Rest APIs will be using the Swagger (OpenAPI) Specification.
Getting started
Clone the repository
git clone <git lab template url> <project_name>
Pre-requisites
- Install Docker for Mac
Setup in local
- Since we can run all docker containers by docker-compose at once,
build images
docker-compose build
run containers
docker-compose up
stop containers
docker-compose stop
remove containers
- be careful with this command, this makes init mysql data too.
docker-compose down