Skip to content

karlozz157/fondeadora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fondeadora

Download the project

git clone git@github.com:karlozz157/fondeadora.git

Build

cd fodeadora && docker build -t fo .

Run

docker run -p 6969:6969 fo

Populate the database

curl -X POST http://localhost:6969/seed

Check the transactions

curl -X GET http://localhost:6969/report/{date}

Create the reconciliation report

curl -X POST http://localhost:6969/report?date={date}

Tests

pytest tests

Plus

Get transactions by user_id

curl -X POST http://localhost:6969/user/{user_id}/transactions

Add crontab to create report

0 0 * * * curl -X POST "http://0.0.0.0:8000/report?date=$(date +\%Y-\%m-\%d)" 

Evidence

Run the seed

image

Get the transactions by date

image

Create report (right the endpoit is giving an error but you can run the tests)

image

tests

image

Get the transactions by user_id

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published