Skip to content

julyytran/rales_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project, Rales Engine, serves up an API of data from Sales Engine, a Turing School project that showcases database relationships through sales data. Rales Engine takes the CSV data from Sales Engine and generates a number of API endpoints for one to consume this data.

To get started:

git clone git@github.com:julyytran/rales_engine.git
cd rales_engine
rake db:{drop,create,migrate}
rake import:data

Once the data has been imported, run rake routes to view all the available endpoints. Data categories consist of six models: merchants, customers, items, invoice items, invoices, and transactions. Each of these categories contain an endpoint to view all, view one, find all, and find one. Additional endpoints include viewing a random merchant and viewing several business analytics.

About

An API of Sales Engine data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages