Skip to content

About

An API of Sales Engine data

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages