Skip to content

Lithnotep/monster_shop_2003

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monster Shop

BE Mod 2 Week 4/5 Group Project

View our Monster Shop 2003

Team

Jack Cullen

Jane Greene

Max Mitrani

Ashkan Abbasi

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

Tech

  • Rails 5.1.x
  • PostgreSQL

Gems

  • rspec-rails
  • capybara
  • launchy
  • pry
  • simplecov
  • shoulda-matchers
  • factory_bot_rails
  • orderly

Getting Started

Prerequisites

brew install ruby -2.5.3
gem install rails -5.1.7

Installing

Clone repository:

git clone git@github.com:Lithnotep/monster_shop_2003.git

Navigate into directory:

cd monster_shop_2003

Install gems:

bundle install

Configure databases:

rails db:{create,migrate,seed}

Fire up local server: (http://localhost:3000)

rails s

Run test suite:

bundle exec rspec

User Roles

  1. Visitor - this type of user is anonymously browsing our site and is not logged in
  2. Regular User - this user is registered and logged in to the application while performing their work; can place items in a cart and create an order
  3. Merchant Employee - this user works for a merchant. They can fulfill orders on behalf of their merchant. They also have the same permissions as a regular user (adding items to a cart and checking out)
  4. Admin User - a registered user who has "superuser" access to all areas of the application; user is logged in to perform their work

Register

Merchants

Merchants Dashboard

Items Index

Item Show Page

If you are interested in contributing:

  • Fork repo (https://github.com/Lithnotep/monster_shop_2003)
  • Create your feature branch (git checkout -b feature/fooBar)
  • Commit your changes (git commit -m 'Add some fooBar')
  • Push to the branch (git push origin feature/fooBar)
  • Create a new Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 83.8%
  • HTML 14.5%
  • CSS 1.2%
  • JavaScript 0.5%