hapi-service-template

1.0.0 • Public • Published

hapi-service-temaplte - a small API template to get started with a service

This is an example of what hapi can achieve

.example.env

In order to run the service you'll need a .{stage}.env file The default stage is dev

Also, check .example.env with all the needed env variables for your service

Here's the .dev.env file:

PUBLIC_HOST=0.0.0.0:7777

install

npm i

or

yarn

running

npm run develop

or

yarn develop

and then go to http://localhost:7777/documentation to see the swagger

perks

  1. Webpack support
  2. Hapi support
  3. Auth / JWT support
  4. Swagger support
  5. Typescript support
  6. DotEnv support
  7. and many more!

Readme

Keywords

none

Package Sidebar

Install

npm i hapi-service-template

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

113 kB

Total Files

91

Last publish

Collaborators

  • batifullview