Skip to content

jexica-dev/gjam

Repository files navigation

Project Overview

GJAM Jam

Jexica Ayran (redesign), Casey McClenathan, Garrett Foster, Joshua Ramnanan

Project Description

This is an eCommerce jam store with full CRUD functionality: lets users signup/log in with the option to buy, create, and modify jams. Jams are saved (in an database) and updates their new jams to the collection. Registered users are also able to checkout jams to a digital shopping cart.

Wireframes

Web Wireframe

Component Hierarchy

Component Hierarchy

API and Data Sample

Schema

Jam(Product) Schema

const Jam = new Schema(
  {
    name: { type: String, required: true },
    sweetness: { type: String, required: true },
    spiciness: { type: String, required: true },
    imgURL: { type: String, required: true },
    hoverImage: { type: String, required: true },
    description: { type: String, required: true },
    creator: { type: String, required: true },
    price: { type: String, required: true },
    ingredients: [{ type: String }],
    restricted: { type: Boolean, required: true },
  },
  { timestamps: true }
);

User Schema

const User = new Schema(
  {
    name: { type: String, required: true },
    email: { type: String, required: true },
    password_digest: { type: String, required: true, select: false },
    cart: [{
      jamId: { type: Schema.Types.ObjectId, refs: "jams" },
      quantity: { type: Number, required: true },
    }]
  },
  { timestamps: true }
)

MVP/PostMVP

MVP

  • User will be able to sign in, on sign in users will have the ability to create a jam and delete their own. Featured jams will not be able to be changed or deleted.
  • If user is not signed in, create link will not be available, instead it will redirect user to sign up page.
  • When a user clicks on a jam in the jams page, a modal will pop up of that jam. The ingredients will be listed as well as price and a brief description.
  • In order to make it easier for users to search for jams, a search bar has been included that will filter as the user types
  • A Sort feature lets the user sort the jams alphabetically(or reverse) and low to high(or high to low)
  • The app is password protected by authentication to protect user's personal information

PostMVP

  • Implement a shopping cart so users can store items for one purchase

Project Schedule

Day Deliverable Status
Sep 9 WireFrame, Project Approval Complete
Sep 10 Component Hierarchy, Github Setup, Team Expectations Doc, Start Coding, Backend, initialize react app Complete
Sep 12 Backend, meet for an hour Complete
Sep 13 Aim for functionality by end of day Complete
Sep 14 MVP Complete
Sep 15 Responsiveness and extra styling Complete
Sep 16 Polishing, Post MVP Complete
Sep 17 Project Presentations Complete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published