- 
Open terminal in Project Directory 
- 
Run npm installto install Project dependencies
- 
Setup .envfile from.env.sample
- 
Run npm run start:devto start theGATEWAYin development Environment OR
- 
Run npm run startto start theGATEWAYservice in production Environment
- 
- Open terminal in Service Directory [apps/<auth | user | post | comment>]
- Run npm installto install dependencies
- Setup .envfile from.env.sample'
- Run npm run start:devto startSERVICEin development Environment
- Services can run as a standalone Application in Development Environment only...
- Provide MODE="RUN_AS_APP"in .env file
 
- Provide 
- Run npm run startto startSERVICEin production Environment
- Once a service has been started, it will register itself to the Gateway with
- KEY
- VERSION
- PORT
 
- 
- npm run start -- <key> <version>
- npm run start -- auth v2
- If not provided then Default Key and Version will be assigned from ENV
 
 
- 
After Starting services, Every endpoint of each service can be accessed via Gateway, with [gateway_url]/[service_key]/[service_version]/[path]
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Lightweight Node.js microservices framework with custom Proxy, Circuit Breaker, Service Registry, and Versioning—all built from scratch, no external libraries. Designed for full control over scalability and resilience.
alias404/microservices
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Lightweight Node.js microservices framework with custom Proxy, Circuit Breaker, Service Registry, and Versioning—all built from scratch, no external libraries. Designed for full control over scalability and resilience.