Skip to content

Tiny and flexible microservice framework for fast development.

License

Notifications You must be signed in to change notification settings

star-inc/lavateinn

Repository files navigation

Lævateinn (lavateinn)

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.

lavateinn

Installation

Install the dependencies.

npm install

Development

Hot-reload to help you create your application in fast, reducing the time while debugging.

npm run dev

Production

Start the service for providing to our dear clients!

npm start

API

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 /example/now

Get POSIX timestamp

Example to show current POSIX timestamp.

License

Lævateinn is the microservice framework with MIT licensed.

(c) 2024 Star Inc.

About

Tiny and flexible microservice framework for fast development.

Resources

License

Stars

Watchers

Forks