captain-thunk-grace-shopper / grace-shopper Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Story: Sign up as a new user
Implementation: Express route (POST api/users) --> adds new user to Postgres database
Update user model to include first name, last name, address
extends #12
can not view home page after clicking single produce
add to cart posts a new cart item
extends issue#5
Story: As an existing user, I can see my past orders
Implementation: User model --> array of past order information. Express route (GET users/:userid) serves up past orders
Perhaps we should create a separate Address Model instead so we can "allowNull: false" without interfering with users who might be logging in for the first time who do not have the option to enter that information.
Story: As someone who loves math, I want to make sure that Javascript doesn't create errors with decimal points .
Implementation: make sure that schema data provided does not break Javascript
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
Story: Sign in as an existing user
Implementation: Express route (PUT api/users/:userId) --> updates session info ?
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
Get all products reducer, action creator, thunk creator
extends #5
Story: See all of the products w/ options of 1) see more details and 2) adding to cart
Implementation: Express route (GET api/products
) --> serve up name, price, quantity, and imageUrl of all products from Postgres database. No special access control needed.
Story: See individual product w/ option of adding to cart
Implementation: Express route (GET api/products/:productId) --> serve up name, price, quantity, and imageUrl of single product. No special access control needed.
Story: As a developer, I want to a database schema for orders that includes customer information as well as specific product information and quantity.
Implementation: I will create a Sequelize model for both Order and Order-Items - defined as all items a user adds to an order. Through Sequelize associations, I will link the Order to Products via Order-Items, and Order to User.
Story: As a visitor or user, I can view my cart
Implementation: Express route or stateful component (??) serves up all cart items.
subissues: add or remove items
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
Story: As a user, I want to be able to reload a page without losing my cart information whether I am logged into the website or not.
Implementation: Use express-sessions data or local storage to store information about the cart to the express-sessions object.
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
Story: as a website I want to keep track of changing prices of inventory from order to order
Implementation: create a price column on the order-items schema
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
Implementation: Create a spec file that creates a new order, and use chai to make sure that I am receiving back an array with the correct information
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
For bugs, please include the following:
For features, please specify at least minimal requirements, e.g.:
Issue description here…
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.