Skip to content

whmall/the_data

 
 

Repository files navigation

TheData

TheData is a MiddleMan for import data and export data, It can be used for generating complex report. And It can transfer data to many format, Like: csv, pdf, html, xml and more.

Features

  • Easy to use, Just config;
  • Separate pdf style and data;
  • Strong, even data processing break off, It can be restore easily;

Functions

  • sidekiq job;
  • report file store;
  • send email notice user after finished sidekiq job;

Getting Started

step-1: Add one_report to you Gemfile:

gem 'the_data'

step-2: Run migrations

rake the_auth_engine:install:migrations
rake db:migrate

How to use

step-1: Define table

The table defined the report's data format

Define Report Table

step-2: Define report method

Define Report Method

step-3: (optional) Define report pdf's style

Define report pdf style

依赖

the_role

About

Utils for import and export data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 55.1%
  • HTML 44.0%
  • JavaScript 0.9%