Skip to content

GarrettCottrell/monster_shop_2005

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monster Shop

Project Link

Contributors

Background and Description

"Monster Shop" is a fictitious e-commerce platform where users can register to place items into a shopping cart and 'check out'. Users who work for a merchant can mark their items as 'fulfilled'; the last merchant to mark items in an order as 'fulfilled' will be able to get "shipped" by an admin. Each user role will have access to some or all CRUD functionality for application models.

Setup

This project requires Ruby 2.5.3. This project requires Rails 5.2.4.3.

  • From the command line, install gems and set up your DB:
    • bundle install
    • rails db:create
    • rails db:migrate
    • rails db:seed
  • Run the test suite with bundle exec rspec. There should be 198 passing tests.
  • Run your development server with rails s. Visit localhost:3000/merchants to see the app in action.

Learning Goals

Rails

  • Create routes for namespaced routes
  • Use Sessions to store information about a user and implement login/logout functionality
  • Use filters (e.g. before_action) in a Rails controller
  • Limit functionality to authorized users
  • Use BCrypt to hash user passwords before storing in the database
  • Use rails resources for RESTful routes
  • Implement query params

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 89.8%
  • HTML 9.0%
  • Other 1.2%