Description coming soon.
- 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 ]
- Install nodejs for Ubuntu.
(Optional)
- Install mongodb
- Create a local db and user in
mongo
use giftlist
db.createUser({
user: "glserver",
pwd: "password",
roles: [{
"role": "readWrite",
"db":"giftlist"
}]
})
- Run
npm i
to install.
- Run
npm run dev:dbcreate
to add test data.
- Run
npm run start
to run server at localhost:3000.
The front end application is build in Vue.
# 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.