#Api Soma e Media
Uma api simples que faz a soma e a média a partir de um array
#Instalação
npm i
#Usando a api
Para abrir o server utilize o seguinte comando
npm run dev
Basta enviar uma requisição do tipo POST para o link: http:localhost:3000/sum-and-average com mesmo formato do exemplo abaixo:
{
"numbers": [1,2,3,4]
}
#Testes
Para rodar os testes:
npm test
Verificando cobertura de testes
npm run test:cov