Skip to content

Week 4 Ruby - AR, many-to-many, sinatra, postgres/sql

Notifications You must be signed in to change notification settings

kihuynh/shoe_store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shoe Love

Ruby application with a many-to-many database relationship, 3/4/2018

By Kimberly Huynh

Description

This application allows the user to interact with a database that connects stores and shoe brands. It allows the user to add stores and brands, update name, and delete. Users are able to add shoes to multiple stores where they can be sold.

Setup/Installation Requirements

Open Terminal To clone on your local machine, run the following in the Terminal

$ git clone https://github.com/kihuynh/shoe_store.git

In terminal, navigate to the root directory of the project and run: Run Postgres in terminal(if local machine doesn't run it on startup):

$ postgres

Install gems, create database:

$ bundle install
$ rake db:create
$ ruby app.rb

Open your browser and go to localhost:4567

Technologies Used

  • Ruby
  • Gems
  • Sinatra
  • Postgres

License

Licensed under MIT license

Copyright (c) 2018 Kimberly Huynh

About

Week 4 Ruby - AR, many-to-many, sinatra, postgres/sql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published