Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 638 Bytes

README.md

File metadata and controls

35 lines (29 loc) · 638 Bytes

Install and run

Init mongo image

docker-compose up -d

Create and fill the .env file

ENV=development
PORT=9001
MONGO_URI=mongodb://dev:dev@127.0.0.1:27017/payments?authSource=admin

Install dependencies, build (to generate tsoa routes and swagger) and run the demo data to check models

npm i
npm run build
npm run example

Start the project

npm run start:dev

Pass linter and tests

npm test

Insomnia project

payments-manager_insomnia.json


El planteamiendo de arquitectura consiste en tener varios servicios que llaman a implementaciones de una clase abstracta.