Skip to content

volcanoxp/challenge_tokenize_card_ddd

Repository files navigation

Implementation of the Card Tokenization project

Usage

Technologies

  1. Docker Compose
  2. NodeJs V18.16.0
  3. TypeScript
  4. Redis
  5. Serverless

Steps for local development

  1. Install redis database
docker-compose up -d
  1. Install dependencies
npm install
  1. Run and start to test apis
npm run start

Extra commands

  1. Run test
npm run test
  1. Verify linter
npm run lint

API Endpoints

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

API POSTMAN DOCUMENTACION / EXAMPLES

https://documenter.getpostman.com/view/11308127/2s946fetEC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published