Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.43 KB

File metadata and controls

80 lines (60 loc) · 2.43 KB

Mod3_Project_Gallery_Rails_Backend

Video Demo | Live Demo

Art Gallery is a full-stack web application where you can browse around the gallery of famous artists' paintings. This app will help a person to get familiar with art/paintings.

Link to Frontend

Table of Contents

Installing Backend

  • Install Homebrew
    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • Install Ruby
    $ brew install ruby
  • Install Rails
    $ gem install rails
  • Install PostreSQL
    $ brew install postgresql
  • Clone repo and cd into Gallery_Rails_Backend
  • Install dependencies
    $ bundle install
  • Create migration, migrate and seed
    $ rails db:create $ rails db:migrate
    $ rails db:seed
  • Start rails server
    $ rails s
  • User is able to enter the name and the username
  • User is able to add paintings to their favorites
  • User can click on a Painting and either see more information about it or add it to their favorites
  • User can remove paintings from favorites
  • User is able to learn more about a particular artist that drew the painting that they clicked
  • There are 4 models with has_many, belongs_to and has_many through associations