Giter Club home page Giter Club logo

online-material-store's Introduction

Online Material Store

This is an online store for order materials from a cabinetmaker. We came up with the idea from one of the group who work for the cabinetmaker and could see the real world application.

User Stories

  • As a user, I would like to see a homepage where I can log in to the site with my login details.
  • As a user, I would like to READ and access a database of materials.
  • As a user, I would like to confirm my item and receive an invoice to my email.

Acceptance Criteria

  • It's done when the / homepage route renders a login page.

  • It's done when an existing user can enter their credentials on the login page to create a session on the server.

  • It's done when a new user can create an account on the login page and then be immediately logged in with a session.

  • It's done when the /user route renders the logged-in user's saved passwords and a form to save a new password.

  • It's done when the /user/:id route renders the login information saved for the specific user.

  • It's done when only a logged in user can visit the /products route.

  • It's done when a logged in user is redirected to /products when they try to visit / again.

  • It's done when a logged in user can add viewed product to there shopping cart

  • It's done when a logged in user can sumit there cart and receive an emailed invoice.

  • It's done when a logged in user can select a "Logout" button to remove their session.

  • It's done when the API routes to create and delete posts are protected from non logged-in users.

  • It's done when the code is organized using MVC architecture.

  • It's done when the views are rendered with Handlebars.js templates.

  • It's done the online material store is able to send an emailed invoice

Specifications

  • The database models have the following fields and associations:

    • User

      • id: primary key

      • name

      • email

      • password validate: { len: [8], },

    • Product

      • id: primary key

      • type

      • image

    • Material

      • id

      • colour

      • finish

      • product_code

      • length

      • width

      • thickness

      • price

      • image

      • product_id: foreign key that references product.id

screenshots of project:

Framework used

we use Handlebars and Bootstrap

Features

the key features of this project easy of use and functionality

Contribute

Daniel Sixsmith, Aaron Sando and Sophie de Jong

License

MIT

Improvment ideas:

add button to add item to cart from the product screen add a shopping cart getting a purchase number working prices are per m2 can you think of a way to make it work out the price have we done a delete route for then purchase material is done need a way of stopping doubling chicking when clicking the purchase button make admin centre

  • As admin, I would like to CREATE new materials
  • As admin, I would like to UPDATE materials
  • As admin, I would like to DELETE materials

online-material-store's People

Contributors

sandoman19 avatar siddysixsmith avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

siddysixsmith

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.