Skip to content

heyzernut/project-3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreciousTots

landing page Done By: Siya, Hazel and Mingyi

Link To Website: Precious-tots


Design Idea

Observed Problem:

problem

Proposed Solution:

solution


Table of Contents

  1. Design Idea
  2. Table of Contents
  3. User Story
  4. ERD
  5. Wireframe
  6. Development Log
  7. Built with
  8. Technical Information

User Story

Users

user_story

  • can register for an account
  • can login to their account
  • can subscribe / unsubscribe to monthly plan
  • can receive points to their account upon subscription
  • can add details of their children
  • can update details of their children
  • can choose a new set of clothes to receive at the start of every month
    • can view outfits that match their children's size and selected style
    • can add and remove selected outfits to their shopping cart
    • can checkout their shopping cart to start the processing
  • have to return previously rented outfits when they receive newly requested ones

Admins

  • can add new admins
  • can login to admin site
  • can view / edit all users in database
  • can view / edit all user outfit requests
  • can view / edit all clothes in database
  • can add new clothes into database

ERD

Image of flowchart


Wireframe

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4

wireframe

wireframe


Development Log

6 Nov 2017

  • Add README with user stories, use case, ERD and wireframe

7 Nov 2017

  • Add working home page
  • Add Devise: allow for user register, login and logout
  • Add registration feature. Allow for registration with the necessary information recorded i.e. email and password
  • Edit ERD diagram

8 Nov 2017

  • Add models: child, size, loan_status, style, stock_status, clothes_set, cart_item and loaned_item
  • Add migrate files for all models
  • Add db seed for loan_status, style, stock_status
  • Add controllers for children. Users are able to create child's details under their account.

9 Nov 2017

  • Add profile page to user account
  • Add edit routes for editing children's information
  • Edit user_account_update routes from "/edit" to "/profile/edit"
  • Edit models: added relationships between models

10 Nov 2017

  • Add edit & delete routes for child
  • Add necessary gem files
  • Add browse function

12 Nov 2017

  • Add cart function: able to add item to cart, remove and checkout cart
  • Add admin function: admin able to add other admin account, admin able to see all the loaned item and edit it

13 Nov 2017

  • Add filter clothes function: able to filter clothes by size & style
  • Edit cart function: add AJAX cart function
  • Fix: double creation of cart_items
  • Improve CSS

14 Nove 2017

  • Update user registration required field
  • Redirect to 'add child' on user register
  • Redirect to 'filter form' on child information added
  • Edit default values for style/size selection
  • Browse page display current user points, ajax: +/- points on add/remove cart item.

15 Nov 2017

  • Add AJAX to in-cart quantity, add/remove button for clothes browsing
  • Add Stripe payment system
  • Edit user registration > add child > payment > filter form > browse page > cart > checkout > my orders route
  • Improve CSS
  • Push to Heroku
  • Soft launch
  • Edit README

Built with

  • Ruby on rails

  • PostgreSQL

  • Materialize CSS Framework

  • Stripe payment

  • Active Admin

  • Devise


Technical Information

Ruby version:
ruby 2.4.2p198

Configuration:
$ bundle install

Database creation:
$ rails db:migrate

Database initialization:
$ rails db:seed

Deployment instructions:
$ rails server

About

Starter for Project 2 - Rails, Teams

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 63.5%
  • HTML 28.9%
  • CSS 4.1%
  • JavaScript 3.5%