Git Product home page Git Product logo

shoe-store's Introduction

Shoe Store

image

An application to track shoe brands and stores they are in!

By Kristen Marie Kulha

Description

This web application allows users to add, update, delete and list shoe stores. The user an add and list shoe brands, which include price, add existing shoe brands to a store to show where they are sold (user can associate the same brand of shoes with multiple stores), and see all brands that a store sells on an individual store page.

Specifications

  • Store names and shoe brands are saved with a capital letter regardless of how they are entered.
    • Example input: shoe superstore
    • Example output: Show superstore
  • Entered prices should be changed to currency format
    • Example input: 50
    • Example output: $50.00
  • All stores and brands are unique, no two entries are the same
    • Example input: Adidas
    • Example output: "This brand is already in the database!"
  • Store and brand names have a max of 100 characters
    • Example input: This is a really long store name that is completely unnecessary but it is for testing purposes!! :)
    • Example output: "Store names cannot exceed 100 characters"
  • Stores and shoe brands can't be created with a blank name
    • Example input: ""
    • Example output: Name field cannot be left blank.
  • Brand and Store names cannot contain offensive language
    • Example input: curmudgeon
    • Example output: Name is reserved
  • Will not capitalize words in names that should remain lowercase.
    • Example input: wooley and walkers
    • Example output: Wooley and Walkers
  • Brands can't be created without a price
    • Example price input: nil
    • Example output: Price can't be blank

Setup/Installation Requirements

  • Clone directory from github using git

  • NOTE: These instructions assume you already have Ruby and Sinatra installed.

Installing the necessary database:

  • Do you have postgres and psql installed? Download

  • In terminal, navigate into main project directory folder

  • In your terminal enter: $ bundle install

  • In your terminal enter: $ rake db:create

  • Enter: $ruby app.rb

  • In web browser of choice copy and paste the following into the address field : http://localhost:4567/

🐛Known Bugs🐛

There are no known bugs at this time.

📧Support and contact details📧

Feel free to contact me at [email protected]

Technologies Used

Ruby, Sinatra, SQL, HTML, CSS, Bootstrap, ActiveRecord, Postgres

License

This software is licensed under the MIT license.

Copyright (c) 2017 Kristen Marie Kulha

shoe-store's People

Contributors

kristenmarie avatar

Watchers

James Cloos avatar  avatar

shoe-store's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.