https://github.com/abendayan/expresszz
https://github.com/abendayan/expresszz
express javascript microservice microservices microservices-architecture node nodejs redis
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abendayan/expresszz
- Owner: abendayan
- License: mit
- Created: 2022-02-05T16:37:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T04:50:51.000Z (over 1 year ago)
- Last Synced: 2024-12-16T05:00:26.156Z (over 1 year ago)
- Topics: express, javascript, microservice, microservices, microservices-architecture, node, nodejs, redis
- Language: JavaScript
- Homepage:
- Size: 200 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# ExpressZZ
Utils to help to quickly build an express server
### Usage
Examples are in the examples folder
```js
const {Expresszz} = require('lib/expresszz')
async function run() {
const service = new Expresszz('name', 5555, process.env.REDIS_URL, process.env.REDIS_SECRET)
await service.configureApp()
service.configRoute('get', '/url', [() => service.logger.info('test')])
service.run()
}
run()
```