thandonguocmo2020 / api-hapi-vue

start project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

start

start project node hapi vue

Mini-doc

/build/ - Contains files needed for build and hot development
/build/index_dev.html - Template for index.html, it will be used by HMR when developing in memory and during production build
/client/ - Vue.js app source
/config/ - Configuration files
/public/ - Public folder served by Hapi
/server/ - Server side logic
/test/ - Contains test files
/app.js - Production server
/gulpfile.js - Gulp setup file

Dev Setup

# install dependencies
npm install

# run unit tests
npm run unit

# run api unit tests
npm run unit-api

# serve with hot reload at localhost:4000 (proxy from localhost:3000)
npm run dev

Production Setup

# install dependencies
npm install

# build for production with minification
npm run build

# run application at localhost:3000
node app.js

Credits: Vue 2
Hapi
Gulp
BrowserSync
Webpack

About

start project


Languages

Language:HTML 71.5%Language:JavaScript 22.2%Language:CSS 5.5%Language:Vue 0.9%