Giter VIP home page Giter VIP logo

e-commerce's Introduction

e-commerce

e-commerce product

Write a program that models an e-commerce product:

  • Products have name, sale price and market price
  • Products may have custom attributes that developers can add attributes to products without modifying the core database.
  • Product attributes can be stored in many types of data (date time, string, float, integer, text...)
  • Products have images, displayed on product detail page (as gallery) and listing page (using default image)
  • A configurable product is a special product that is combination of 2 or more products with different variations (Ex: color, size... etc). The code must pass the tests:
  1. Create a product with name Iphone X 64Gb Black price $999 (decimal), market price $1099, 3 images, color Black, storage 64Gb, along with some specific attributes: description (long text), origin (text), factory date (date time), weight (float)
  2. Create a product with name Iphone X 128Gb Yellow price $950 (decimal), market price $1050, 3 images, color Yellow, storage 128Gb, along with some specific attributes: description (long text), origin (text), factory date (date time), weight (float)
  3. Create a configurable product named Iphone X that is combination of the 2 products above. Notes:
  • You should NOT use a full-featured framework, just plain code.
    • No database, user interaction or other functionality is required (so no HTML/CSS/JavaScript); it just needs to be the code which runs and passes the tests.

e-commerce's People

Contributors

nguyenmanhhung2611 avatar

Watchers

 avatar

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.