Personal boilerplate to bootstrap simple applications and microservices
.
├── configs # Server configs
│ ├── default.json # Environment variables file
│ ├── plugins.js # HapiJS Plugins Config
│ └── server.js # HapiJS Server Config
├── index.js # Server Entrypoint
├── libs # Libraries Folder
├── modules # Modules / Feature Folder
│ └── pets # Module name
│ ├── models # Models of the context
│ │ └── Pet.js # Model name
│ ├── routes # Routes of context
│ │ └── crud.js # Group of routes
│ ├── services # Services of Context
│ │ └── crud.js # Crud service example
│ └── views # Views Folder
└── test # Tests folder
└── unit # Unit Tests
└── libs # Library Tests
└── system.test.js
npm run dev
npm start
npm run unit-test