Code Monkey home page Code Monkey logo

node-mongo-vue-vuestic-dashboard-template's Introduction

Node.js + MongoDB + Vue.js + Vuestic

This repo contains an example of the use of Node.js, MongoDB, Vue.js and Vuestic. Auths come from Passport.js using a token. There's some other cool stuffs, and some ugly ones.

Getting started

git clone https://github.com/DiegoPires/node-mongo-vue-vuestic-dashboard-template.git
cd node-mongo-vue-vuestic-dashboard-template

To compile backend:

cd src/backend
npm run dev

backend will be served in: http://localhost:8081/

To compile frontend:

cd src/frontend
npm run dev

frontend will be served in http://localhost:8080/

At first a user will be created as: e-mail: [email protected] password: asd

Mongo

There's an exemple file to the initial import with mongoimport in /Data/example_import.txt:

cd node-mongo-vue-vuestic-dashboard-template/Data
mongoimport --db sales --collection sales --file exemple_import.txt --jsonArray

Otherwise can run the seed, 10000 fake data will be created:

cd node-mongo-vue-vuestic-dashboard-template
npm run seed

The file /Data/migration/mongomigration.js has some stuffs to be done before using the system

Git quickguide

git checkout develop -> change to checkout bragitnch

git checkout master -> change to master branch

git pull -> get all changes from the server

git add . -> add all local changes

git commit -m "message" -> commit changes with a message

git push origin develop -> send all committed changes to the develop branch

Develop everything first on the develop branch

Resources

Inspiration taken from

node-mongo-vue-vuestic-dashboard-template's People

Contributors

diegopires avatar

Watchers

 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.