zrp / node-functional-boilerplate

A Functional boilerplate inspired in DDD/Clean Architecture for Node web APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS Functional Boilerplate

Status Commitizen friendly

πŸ“– Index

πŸ” About

Created following the concepts of Functional Programming, Clean Architecture and Domain Driven Development, aiming to provide a fast service development, while being resilient to business rules changes.

🎈 Quick start

  • 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;
  • Locally Only: Run npm i in order to install dependencies;
  • Locally Only: Run Local: Launch on vscode debug tab.
  • Docker Only: Run docker-compose up -d app;
  • The sample application will be running in localhost:3000/v1/graphql;
  • Happy coding! 🎈

πŸ›  Issues

Please, if you come across any issues, report them here.

:octocat: Contributing

Anyone is welcome to contribute! Please fell free to make any pull requests, or request features you would like to see in the future.

⛏ Built with

About

A Functional boilerplate inspired in DDD/Clean Architecture for Node web APIs

License:MIT License


Languages

Language:JavaScript 93.7%Language:Dockerfile 5.5%Language:Shell 0.8%