Giter VIP home page Giter VIP logo

space-shopper's Introduction

space-shopper's People

Contributors

queerviolet avatar arinchoi03 avatar ruthnaebeck avatar glebec avatar jodiely avatar cigdemaybar avatar intersim avatar dnllowe avatar ekatzenstein avatar zekenie avatar annaebrown avatar tmkelly28 avatar kochis avatar nadrane avatar

Watchers

James Cloos avatar  avatar  avatar

space-shopper's Issues

Checkout Page

the submit button :
[X] clears req.cart - set to null
[X] updates order status to pending
[X] update inventory qty
[X] have the submit order button redirect to confirmation page
[X] make sure all fields are filled out before placing the order
[ ] IF no req.user (GUEST): create a user for guest
[ ] IF there IS req.user: find user and associate order to user

Maybe later:

  • charge the user/integrate Stripe -- how?

Account Page for User

List of Past Orders (have completed status)
-->Click on each order, take you to Order Detail page
------->In the order detail page, link to Product pages

Low priority --> update user account information

Reviews - add/delete/edit

  • add a new edit on product
  • delete the review (only written by original author)
  • edit the review (only written by original author)
  • change star rating representation from Number to Stars (? low priority)

Sign-up/Log-in Component

To save time, we can have log-in and sign-up be the same function (do findOrCreate)

  1. set up back-end route: api/router.post('/login')
  2. create login/sign-up function in User model
  3. ...

(I will come back to this later)

Product Component

  • photo DONE
  • product description -- NEED TO DO
  • product reviews -- NEED TO DO
  • price
  • qty
  • add to cart button -DONE

Create models for db

Create Models: User, Product, Order, Category, Review
Create associated relationships
Create Order Tests

Routes

Backend:

  • need '/api/planets'

Frontend:

  • /planets

[LP] Styling

  • change black background to starry (but black main color) background (arin has suggestion for background)

  • add padding/margin to products

  • change fonts to be more space-themed

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.