Skip to content

Personal boilerplate to bootstrap simple applications and microservices ⚡ ⚡ ⚡

License

Notifications You must be signed in to change notification settings

brunotonin/micro-api

 
 

Repository files navigation

⚡ Micro API Boilerplate ⚡

Twitter: fidelissauro

Personal boilerplate to bootstrap simple applications and microservices

Project Architecture

.
├── 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

Development Environment

npm run dev

Production Mode

npm start

Running Tests

npm run unit-test

Author

👤 Matheus Fidelis

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

About

Personal boilerplate to bootstrap simple applications and microservices ⚡ ⚡ ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • Dockerfile 1.6%