Skip to content

A repository containing Node.js + Vue.js on top of MongoDB and using Vuestic as the template

Notifications You must be signed in to change notification settings

DiegoPires/node-mongo-vue-vuestic-dashboard-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A repository containing Node.js + Vue.js on top of MongoDB and using Vuestic as the template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published