/Desafio-Telefonia

Primary LanguageJavaScriptMIT LicenseMIT

Desafio-Telefonia

Boilerplate/Starter Project for building RESTful APIs and microservices using Node.js, Express and MongoDB

Features API

Todo API

  • Add docs in new routes: planos, taxas, simulacao.
  • Migrate to Mongodb Models and Create crud to Models.
  • Docker support
  • Express + MongoDB (Mongoose)
  • Request validation with joi
  • Tests with mocha, chai and sinon
  • Code coverage with istanbul and coveralls
  • Git hooks with husky
  • Deploy on Netlify + Serverless suport
  • Continuous integration support with travisCI
  • Bettercodehub
  • Monitoring with pm2

TODO UI

  • Start application

Requirements

Getting Started

Clone the repo and make it yours:

git clone --depth 1 https://github.com/luizfelipeneves/Desafio-Telefonia
cd Desafio-Telefonia
rm -rf .git

Install dependencies:

yarn

Set environment variables:

cp .env.example .env

Running Locally

yarn dev

Running in Production

yarn build
yarn start

Lint

# try to fix ESLint errors
yarn fix-lint

License

MIT License - Luiz Felipe Neves