Giter Club home page Giter Club logo

rails_record_store's Introduction

The Record Store

By Frank Proulx, Drew Henderson, Morgan Waites

This is an app for a site that allows the user to add albums, artists, and songs for imaginary record store site.

Technologies Used

  • Ruby
  • Gems
  • Bundler
  • Rspec
  • Pry
  • Sinatra
  • Capybara
  • Postgres
  • SQL
  • SQL Designer

Description

Webpage display list of albums for hypothetical Record Store. User can add, edit, delete albums as well as artists and songs. Shows CRUD functionality and knowledge in relational databases. Database has tables for artists, albums, and songs and, lastly, a join table to show many to many relationship between albums and artists.

Setup Instructions

  • Create and/or navigate to the directory you would like to contain this project on your computer.
  • Git clone this repo.
  • Navigate into project directory
  • Type bundle install in the terminal to populate gems
  • To create a database using the database backup included in this project, type in your terminal: createdb [DATABASE NAME] psql [DATABASE_NAME] < record_store.sql createdb -T [DATABASE_NAME] [TEST_DATABASE_NAME]
  • Type rspec in the terminal to confirm passing of all tests
  • Type ruby app.rb to run the program with Sinatra
  • Open browswer and enter the url "http://localhost:3000/" unless otherwise prompted in the terminal

Known Bugs

  • When album that user tries to add to artist does not exist, error page is not handled.
  • Not all rspec tests pass; we left two useful fails in artists spec file.

License

MIT

If you have any issues, questions, ideas or concerns, please reach out to me at my email and/or make a contribution to the code via GitHub.

Copyright (c) 2021 Frank Proulx, Drew Henderson, Morgan Waites

rails_record_store's People

Contributors

frank-proulx avatar mellowmorgan avatar

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.