Tiny and flexible microservice framework for fast development.
This is a microservice framework using Node.js + express.js, provides the tree to write your service with a tidy and clear structure of project.
The framework is recommended to be used on light payload tasks.
Install the dependencies.
npm install
Hot-reload to help you create your application in fast, reducing the time while debugging.
npm run dev
Start the service for providing to our dear clients!
npm start
If you have no plan to create the swagger documentation,
you should write the API documentation in the README.md
file.
For example,
the one jsdoc of OpenAPIs':
/**
* @openapi
* /example/now:
* get:
* tags:
* - example
* summary: Get POSIX timestamp
* description: Example to show current POSIX timestamp.
* responses:
* 200:
* description: Returns current POSIX timestamp.
*/
you should write the API documentation in the README.md
file instead as:
### GET /example/now
> Get POSIX timestamp
Example to show current POSIX timestamp.
Get POSIX timestamp
Example to show current POSIX timestamp.
Lævateinn is the microservice framework with MIT licensed.
(c) 2024 Star Inc.