Created following the concepts of Functional Programming, Clean Architecture and Domain Driven Development.
Microservice oriented, aiming to provide a quick services development, highly scalable and be resilient to business rules changes.
- Clone this repo using
git clone https://github.com/zrpaplicacoes/node-functional-boilerplate.git
; - Move to the appropriate directory:
cd node-functional-boilerplate
; - Copy
.example.env
to.local.env
and.docker.env
; - Update environment variables on
.local.env
to match your host configuration; - Run
npm i
in order to install dependencies; - Docker Only: Run
docker-compose up -d app && docker-compose attach app
; - Locally Only: Run
Local: Launch
on vscode debug tab. - The sample application will be running in
localhost:3000/v1/graphql
; - Happy coding! 🎈
Please, if you come across any issues report them here.
Anyone is welcome to contribute! Please fell free to make any pull resquests, or resquest features you would like to see in the future.