Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 1.13 KB

README.md

File metadata and controls

24 lines (22 loc) · 1.13 KB

This is backend for a check_var_sao_ke application written in Ruby on Rails

The purpose is for studying with points of interest as below

  • Download an online file via http
  • Use a gem to process PDF file (extract to text)
  • Use a gem for Pagination of transactions
  • Use Regex to parse list of transactions from PDF text
  • Saving mutiple records in a batch
  • Resources rounting

Flow of files

  • Create a new file status will be created
  • Download all files then set status to downloaded
  • Process files, then set status to processed
  • All transactions are saved, there will be OK or NOK (in case parsing got issue, need to fix that records)
  • Confirm the file processed OK, set status to confirmed
  • Load transactions with pagination

APIs