Giter Club home page Giter Club logo

c3projects--betsy's Introduction

C3Projects--bEtsy

[b]Etsy will be an online store where a wide variety of products can be listed and sold by any user. In this project we will focus on reinforcing the major components of Rails, Model Validation, as well as introducing some more complex logic such as user authentication.

In this project you will cover

  • Core comprehension of:
    • Routes
    • Controllers
    • Models
    • Views
  • User based application logic
  • User authentication
  • Agile practices
  • Group project ownership

Guidelines

  • Groups of four will collaborate in pairs or individually
  • Use a task manager like Trello to track your team's efforts
  • Build a logical user-flow that moves across multiple controllers and models
  • Use HTML/CSS to style your website.

Restrictions

  • Do not use gems for user authentication (such as Devise)
  • Do not use Rails scaffold generator (All other Rails generators are fine)

Getting Started

  1. As a group decide on an app name (this may help lead the aesthetic)
  2. As a group decide on a team name (this will amuse me)
  3. Create a branch on the master repo with your team name
  4. Have one person on your team fork/clone the project master as per usual.
  5. Figure out your workflow for the project, re: Git and Task management

Expectations

Build an online system for listing, selling, reviewing, and buying a wide variety of products listed by multiple merchants.

Guest User (Unauthenticated)

As a guest to the website (not signed in) I can:

  • Browse all products
  • Browse products by category
  • Browse products by merchant (users)
  • View any individual product with additional details
  • Leave a review for a product providing:
    • A Text review
    • A rating out of 5
  • Add in-stock products to my cart
  • Remove products from my cart
  • Change the quantity of an existing product in my cart
  • Purchase the items in my cart, providing:
    • Email Address
    • Mailing Address
    • Name on credit card
    • Credit card number
    • Credit cart expiration
    • Credit Card CVV (security code)
    • Billing zip code
  • Purchasing an order makes the following changes:
    • Reduces the number of inventory for each product
    • Changes the order state from "pending" to "paid"
    • Clears the current cart
  • After purchasing an order, I can view a confirmation screen including:
    • Each item in the order with a quantity and line-item subtotal
    • A link to the item description page
    • Order total price
    • DateTime the order was placed
    • The current status of the order
  • Sign up to be a merchant, providing:
    • Email Address
    • Username
    • Password (plain text passwords cannot be stored in the database)
    • Password confirmation
  • Sign in to my merchant account

As a guest I cannot:

  • Add products to the cart that are out of stock.
  • View any link or page to manage any products
  • View any of the account pages

Authenticated Users

As a signed-in user, I can:

  • Do everything a guest user can do except for sign up and sign in.
  • Sign out
  • Create new categories (categories are shared between all merchants)
  • Create a new product providing:
    • name
    • description
    • price
    • photo URL
    • stock
  • Assign my products to any number of categories
  • Retire a product from being sold, which hides it from browsing
  • View an account page to edit/update my existing products
  • View an account page showing my order fulfillment
  • On the order fulfillment page:
    • Total Revenue
    • Total Revenue by status
    • Total number of orders by status
    • Filter orders displayed by status
    • Link to each individual order
    • A list of orders including at least one of my products:
      • Each order item sold by me with a quantity and line-item subtotal
      • A link to the item description page
      • DateTime the order was placed
      • Link to transition the order item to marked as shipped
      • The current status of the order ("pending", "paid", "complete", "cancelled")
  • View an individual order to see the user's:
    • Name
    • Email address
    • Mailing address
    • Last four digits of their credit card
    • Credit card expiration date

As a signed-in user, I cannot:

  • Review my own products
  • View order items from a shared order that belong to another merchant
  • View another users private data (i.e. order fulfillment or product management)

Model Validations

Many of our models will have attributes that are required for our application to use and display data consistently. Each model will have attributes with requirements for a valid record. The requirements are summarized below:

User

  • Username must be present
  • Username must be unique
  • Email Address must be present
  • Email Address must be unique
  • Password Confirmation must match Password

Product

  • Name must be present
  • Name must be unique
  • Price must be present
  • Price must be a number
  • Price must be greater than 0
  • Product must belong to a User

Order

  • An Order must have one or more Order Items

OrderItem

  • Must belong to a Product
  • Must belong to an Order
  • Quantity must be present
  • Quantity must be an integer
  • Quantity must be greater than 0

Review

  • Rating must be present
  • Rating must be an integer
  • Rating must be between 1 and 5

Submission Guidelines

Your final project must be deployed to Heroku. Your team will open a single pull request for the entire project. Include the link to your Heroku deployment in the PR's description.

Your README file on your Github repo should contain a link to your live site.

Team Leaders

Each team will have team leaders who are responsible for keeping track of each team member's contributions. Rotate leader roles at the beginning of every week; every team member should be in at least one leader role during the project.

  • Stand Up Leader
    • Takes notes about each person's daily report in Stand Up
    • Keeps the meeting moving
  • Task Leader
    • Leads discussion on task assignment
      • Decide if a task should be completed alone or in a pair
      • Assign tasks based on...
        • Individual comfort
        • Desire
        • Ability
    • Ensures the task list stays up to date

At the end of each day, the team leaders will prepare a report containing the Stand Up notes for that day and the last of Tasks completed or started that day. Email that report to your team's Project Manager.

Weekly Demos

In a real world work environment, a team's success is measured by their product as opposed to each individual's contribution.

Each team will present their progress and respond to questions from their Project Manager each Friday. Every team member will participate in these demos; the PM will ask specific questions regarding 1) the team's progress and plan for completing the project, 2) the technical decisions and implementation, and 3) every team member's understanding of the underlying technical structures.

c3projects--betsy's People

Contributors

acmei avatar brennaleker avatar brittinator avatar eliamg avatar jnf avatar kariabancroft avatar ktrops avatar vikshab 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.