It's a technical test for Backend profile in Culqi
- Blazing fast api
- Minimal dependencies (ajv for schema validations, redis)
- 100% TypeScript
- NaturalRouter rewritten for higher performance on AWS Lambda
The test consists of creating 2 apis:
- The first api allows to tokenize credit card information.
- The second api returns the information stored from the token generated in api 1
- AWS Lambda
- AWS ApiGateway
- AWS ElastiCache for Redis
- Serverless Framework with TypeScript
- Jest: Work in Progress...
Requires Node.js v14+ to run.
Install the dependencies and devDependencies and start the server.
npm i
Start the server in a development environment:
npm start
Listen app in: http://localhost:3000
Command | Description |
---|---|
npm start |
Start the server in a development environment |
npm run deploy |
Deploy the repository to the cloud |
npm run test |
Run the unit tests |
npm run lint |
Check for existing errors using eslint |
MIT
Made with Love for Culqi