oscarmaia / poc-typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poc-typescript

Small project to log payments

Get list of Payments

About

This application assists in log payments

How to run for development

  1. Clone this repository
  2. Install all dependencies

bash npm i

  1. Create a new PostgreSQL database using the file dump.sql
  2. Run the back-end in a development environment:

bash npm run dev

Starting for production

bash npm run dev

Usage

GET /payment

GET /payment/:id

GET /total-payment

DELETE /payment

PUT /payment

POST /payment

Body: { "value": "number", "description": "string" }

License

MIT

About


Languages

Language:TypeScript 100.0%