This repository was created to demonstrate a mobile shopping list application made in Vue, Vuex, Vue Router and some custom Animate.css stuff :) ... The project uses socket.io to get real time feedback when adding or crossing off items in a grocery list as well as adding/removing categories.
The set up instructions assume you are on macOS.
The following tools are required to get this running.
Visit here - download and install the latest, stable version.
This will install npm automatically.
cd into the root of the project and run this command
$ npm install- Copy the contents of
.env.example - Create a file called
.envin the root of the project and paste contents of.env.exmaple - Fill in the DB_NAME
Download the tgz file
- https://www.mongodb.com/download-center#community
- Unzip the files and put them in /Users/{username}/
- Rename the folder to
mongodb
Add mongo to your path - open up your bash profile and add this:
export PATH=${PATH}:/Users/{username}/mongodb/bin
- Create a
dbfolder insideserver/data - Run mongo with this command from the root of the project:
mongod --dbpath ./server/data/db
- Run this at the root of the project
mongorestore --gzip ./server/data/dump/db-{most recent date}
$ npm run devOpen up your browser and navigate to localhost:3000