A Vue.js SPA online shop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
config
server
src
static
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.postcssrc.js
README.md
index.html
package.json
yarn.lock

README.md

IERG4210_2017

A Vue.js SPA online shop project

Name: Ling Leong

SID: 1155062557

PHASE 6: EXTENSIONS

  • Mashup: Including a social plugin in the main page
  • Supporting AJAX file upload in the admin panel
  • Using AJAX when browsing categories and products in the main page
  • Single page application (no refresh for entire site)

Client Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Server Build Setup

# first you need to config the database config for PostgreSQL

# install dependencies
bundle install

# setup database
rails db:migrate

# run rails server with hot reload at localhost:3000
rails s