AELSchauer / turing-rails_engine_api

1 stars 0 forks source link

Rails Engine

Intro

This project is an API sales data analysis tool. The return format for all endpoints is JSON.

The markdown for this project can be found here

Collaborators

-Ashley Schauer github

-Alex Fosco github

How to Get Started

Clone the repo in your terminal:

git clone https://github.com/AELSchauer/turing-rails_engine_api.git

Navigate into the project:

cd turing-rails_engine_api

Bundle:

bundle install

Create, migrate, and seed your database:

rake db:create
rake db:migrate
rake db:seed

Run rspec in your terminal to ensure all tests are passing.

Endpoints

You can visit these endpoints to see a JSON response.

In your terminal, start a local server: rails s

Open your browser to localhost:3000

Record Endpoints

Merchants

Customers

Items

Invoices

Invoice_Items

Transactions

Relationship Endpoints

Merchants

Invoices

Invoice Items

Items

Customers

Business Intelligence Endpoints

Merchants

Items

Customers