hapi-service-template
v1.0.0
Published
This is an example of what hapi can achieve
Downloads
2
Readme
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
- Webpack support
- Hapi support
- Auth / JWT support
- Swagger support
- Typescript support
- DotEnv support
- and many more!