Giter VIP home page Giter VIP logo

cs4280-cw2's Introduction

CS4280-CW2

Music Store Web Site App name - Mue

#Techniques used  MVC architecture is used ✓  static pages are used ✓  URL query string extraction ✓  request body query string and json extraction ✓  file upload, e.g. document submission during account registration ✓  database direct access (MySql must be used) ✓  RESTful api implementation ✓  server side template rendering with ejs ✓  server side include with ejs ✓  file download, e.g. train schedule, album price list or customer document review ✓  session tracking with database session store ✓

#Test Account username: admin password: 123 username: admin2 password: 123 username: admin3 password: 123

#Route Design -Index page

  • /

-Sign in / Sign out

  • /login
  • /register

-My purchase

  • /profile/collection
  • /profile/purchase

-Shopping cart

  • /cart

-Checkout

  • /checkout

-Admin page

  • /admin -> statistics of sales
  • /admin/product
  • /admin/product/add
  • /admin/product/management/:album_id
  • /admin/refund

-Browse albums, query from album DB

  • /browse/albums
  • /browse/albums/:id

#Database design

A track must belong to a album

-User id, username, password, point, status, created -Cart id, album.id, track_id, user.id, status, created -Order id, user.id, status, created -OrderItem id, order.id, album.id, track,id, price, refundable, status, -Album id, title, artist, label, release_date, status, created -Track id, album.id, title, artist, length, price, quantity, file, file_preview, status, created

cs4280-cw2's People

Contributors

kc980602 avatar mkc9756 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.