Skip to content

Energy0124/Vue-Rails-online-shop

Repository files navigation

Vue-Rails-online-shop

A Vue.js SPA online shop project

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

About

A Vue.js SPA online shop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published