Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.23 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.23 KB

Gift List

Description coming soon.

Future Improvements

  • Filter friend's gift list by category (e.g. price)
  • Improve setup process [ Create test data from package.json / document setting up mongo db from command line ]

Setting up you environment

(Optional)

  • Install mongodb
  • Create a local db and user in mongo
use giftlist
db.createUser({
  user: "glserver",
  pwd: "password",
  roles: [{
    "role": "readWrite",
    "db":"giftlist"
  }]
})

Installing

  • Run npm i to install.

Installing dummy DB content

  • Run npm run dev:dbcreate to add test data.

Running api server

  • Run npm run start to run server at localhost:3000.

Front end application

The front end application is build in Vue.

Vue build Setup

# 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

For a detailed explanation on how things work, check out the guide and docs for vue-loader.