node-mongdb-vue

A simple demo app built with Express and Vuejs.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Nodejs and npm need to be installed on local system.

node -v
npm -v

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

Install all packages via npm. Run below command in root directory.

npm install

If have mongodb installed in local system. Run mongod to open the connection.

mongod

Mongodb are not required, u can using this mlab connection string:

mongodb://tommychenyang:7896321psn@ds145370.mlab.com:45370/node-mongo-vue

Then update the config.js file, change dev connection string to the value above.

To enter the app in dev mode:

npm run dev

To enter the app in production mode:

To build the application and run the app in dev mode:

npm run build
npm run start

Running the tests

Coming soon.

Break down into end to end tests

Coming soon.

Built With

License

This project is licensed under the MIT License