- Install redis database
docker-compose up -d
- Install dependencies
npm install
- Run and start to test apis
npm run start
- Run test
npm run test
- Verify linter
npm run lint
List of available routes:
Routes:
POST /tokens
- Generate a token with the card information
GET /card/token/:token
- Gets the information of the card with the token
- comments: A bearer token must be used for all requests e.g. pk_test_123455