restyjs-graveyard / config

Configuration module for resty.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@restyjs/config

Configuration module for resty.js.

import resty from "@restyjs/core";
import { Configuration } from "@restyjs/config";

const app = resty({
  controllers: [],
  providers: [
    // will load .env file. for custom env file pass options param.
    Configuration(),
  ],
});

app.listen(8080);

About

Configuration module for resty.js.

License:MIT License


Languages

Language:TypeScript 100.0%