movanelli / nodejs-tdd-api

Books api developed using Node JS applying TDD concepts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Books API

Build Status Coverage Status Code Climate

This is an application that returns a list of books, created to apply the best practices of TDD using Node JS, like unit tests, integration tests and contract tests. Libs used: Express, Mocha, Chai and Supertest; implemented using ES6 + Babel and Authorization with Jwt.

How to develop

  1. Clone repository.
  2. Install dependencies.
  3. Run lint and tests.
git clone git@github.com:moshemeirelles/nodejs-tdd-api.git books-api
cd books-api
npm install
npm test

Authentication

Just POST your email and password to /token and you receive your token to access api endpoints.

About

Books api developed using Node JS applying TDD concepts


Languages

Language:JavaScript 100.0%