Giter Club home page Giter Club logo

vue-shopping-list's Introduction

vue-shopping-list

npm

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.

Requirements

The following tools are required to get this running.

Dev tools

  • Node >=7.7.0 <=8.1.x ~NPM will install automatically
  • babel-cli 6.5.3
  • MongoDB - shell version 3.4.3

Installation

Install Node

Visit here - download and install the latest, stable version. This will install npm automatically.

Install dependencies

cd into the root of the project and run this command

$ npm install

Create .env file

  • Copy the contents of .env.example
  • Create a file called .env in the root of the project and paste contents of .env.exmaple
  • Fill in the DB_NAME

Install MongoDB

Download the tgz file

Add mongo to your path - open up your bash profile and add this:

export PATH=${PATH}:/Users/{username}/mongodb/bin

Run mongo

  • Create a db folder inside server/data
  • Run mongo with this command from the root of the project:

mongod --dbpath ./server/data/db

Import data

  • Run this at the root of the project

mongorestore --gzip ./server/data/dump/db-{most recent date}

Run project

$ npm run dev

Open up your browser and navigate to localhost:3000

vue-shopping-list's People

Contributors

jfusco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.