Giter Club home page Giter Club logo

the_pivot's Introduction

the_pivot

Four-person pivot in Mod 3

the_pivot's People

Contributors

ksk5280 avatar erinnachen avatar amaxwellblair avatar nickybobby avatar brennanholtzclaw avatar theobtuseautodidact avatar scottfirestone avatar

Watchers

James Cloos avatar Nate Allen avatar  avatar

Forkers

ksk5280

the_pivot's Issues

Visitor can create a store

As a guest user
When I visit "/"
And I click on "Register"
And I check the box for "create store"
And I fill in email with "[email protected]"
And I fill in name with "Josh Mejia"
And I click submit
Then I should be redirected to "/dashboard"
And I should see a status of "Pending"

User can checkout with items from multiple stores

User visits "/"
click on "Farmer Market"
expects to be on "/farmer-market/items"
click on "Add to cart"
User visits "/"
click on "Other Market"
expects to be on "/other-market/items"
click on "Add to cart"
click on "Cart"
expect to be on "/cart"
click on "Checkout"
expect to be on "/dashboard"
views "Order ID: 1"

Visitor can view items of a specific store

Visitor visits "/farmer-market"
views "Bacon"
views "Price: $9.00"
views "Welcome to Farmer Market!"
views "Farmer Market is a farm to table food stall located in Western Pennsylvania"

User stories

Guest specific stories
Generic User specific stories

These stories will be new waffle cards.
Try to be as specific as possible.
Write in the "As a user I..." style.
If not sure of a specific route, either make a choice or mark with the "Help Wanted" label.

Dashboard

  • tabs
  • User: Account details, past order, edit, create store link
  • Store admin: Orders, CRUD items, Edit info
  • Platform admin: Stores index, Status change of stores

Navigation bar

  • Categories
  • Dynamic login/logout
  • Dynamic dashboard
  • Cart
  • Register

Platform Admin can log in

As a non-logged in user
I visit "/login"
and I fill in Username with "Admin"
and I fill in password with "password"
and I click login in
Then I am on "Dashboard"
And I see Platform Admin Dashboard Tab

User can become store owner

As a logged in user
I visit "/dashboard"
And I click on "Register a new Market"
And I fill in Market Name with "My Martek"
And I fill in Market Image with "sample.png"
And I click on "Register Store"
Then I am taken to "/dashboard"
And I see "Store status, pending"

Platform Admin Approves store

As a logged in Platform Admin
I visit "/dashboard"
And I see "My Market is pending" in my Admin Dashboard
And I click on "approve"
Then I no longer see My Market in the dashboard
And I visit "/my-market"
And I see a store page
And I do not see a pending message

User can not see store admin

As a logged in user
I visit "/"
And I click on "My Account"
And I expect to be on "/dashboard"
And I do not view "Store Admin"

Routing

Start putting together multitenancy routing for our new level of users. Refer to Tuesday's lesson from Nate.

Platform Admin can suspend a store

As a logged in Platform Admin
I visit "/dashboard" and I click on "stores" tab
and I click on "Suspend Store" next to "My Market"
Then I see My Market marked as Suspended
And when I visit "/my-market"
I see "This store has been suspended by Carrots N Stuff"

Visitor can register

Visitor visit "/"
clicks on "Register"
fills in username: "Allan"
fills in email: [email protected]
fills in password: password
fills in address: 0 Fake lane, NJ
clicks on submit
Expects to be on "/dashboard"
views "Welcome Allan"

Store admin can see dashboard

A logged in store admin visits "/dashboard"
and clicks on "Store Admin Information"
and views "Order ID: 1"
and views "Bacon"
and views "$9.99"

Store item index

  • Well for items
  • Store name
  • Short description of the store
  • Picture

User can create a store

As a user
When I visit "/dashboard"
Click on "Create store"
Expect to be on "/user/:id/edit"
fill in name: "Farmer Market"
fill in description: "This place is great!"
fill in image url: "something.com/pic"
click on submit
Then I should be redirected to "/dashboard"
And I should see "Status: Pending"

Platform admin can see dashboard

A logged in platform admin visits "/dashboard"
clicks on "Platform Admin Information"
views "Store Statuses:"
views "Farmers Market"
views "Pending"

More User stories

Shop Owner Specific stories
Platform Admin specific stories

These stories will be new waffle cards.
Try to be as specific as possible.
Write in the "As a user I..." style.
If not sure of a specific route, either make a choice or mark with the "Help Wanted" label.

Visitor can see all stores

As a visitor
When I visit '/'
And I click on Stores
I expect to be on '/stores'
I should see all of the stores

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.