Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.
/ shoe-store Public archive

A class exercise displaying my understanding of ActiveRecord. Prompt: Create a shoe retailer database page for a client.

Notifications You must be signed in to change notification settings

seanpierce/shoe-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shoe Retailer Databae

Shoe Retailer Database is a web app used to track brands of shoes and where they are sold. This project is an assignment focussing on developing applications using ActiveRecord and Sinatra, built with Ruby. The schema contains a many to many relationship between shoes table and stores table.

Prerequisites

Ruby
Bundler
Postgres

Usage

  • Clone, or download repo
  • Run Postgres
    • if Postgres is not currently running, enter the command $ postgres into your shell environment
    • if Postgres is not installed enter $ gem install postgres into your shell environment
  • Once you've confirmed that Postgres is running, in your shell environment navigate to the folder containing the cloned repo and enter the following commands:
    • $ bundle install
    • $ rake db:create
    • $ rake db:migrate
    • $ ruby app.rb (you should see a message alerting you that the Sinatra server is now running!)
  • In your bowser, navigate to localhost:4567

Set up and installation resources and help:
Running postgres
Using rake
Using sinatra
For issues specific to this project, please contact me directly.

Built With

  • Ruby
  • ActiveRecord
  • Sinatra
  • HTML, CSS, Jquery

Created by / contact info

Sean Pierce
sumler.sean@gmail.com

License MIT
Copyright © Sean Pierce

About

A class exercise displaying my understanding of ActiveRecord. Prompt: Create a shoe retailer database page for a client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •