# mean-task

> A MEAN task list ... demo application

Latest version **0.0.4** (published 2016-05-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install mean-task
pnpm add mean-task
yarn add mean-task
bun add mean-task
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2016-05-04 |
| First published | 2016-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 18 |
| Known vulnerabilities | 0 (+10 in 4 direct dependencies) |
| Install scripts | no |
| Author | Nik Ho |
| Maintainers | studyingmole |
| Keywords | Demo |

## Links

- npm: https://www.npmjs.com/package/mean-task
- Repository: https://github.com/studyingMole/mean-task
- Homepage: https://github.com/studyingMole/mean-task#readme
- Issues: https://github.com/studyingMole/mean-task/issues
- npm.io page: https://npm.io/package/mean-task

## Dependencies (18)

- [mocha](https://npm.io/package/mocha.md) ^2.4.5
- [express](https://npm.io/package/express.md) ^4.13.4
- [mongodb](https://npm.io/package/mongodb.md) ^2.1.16
- [nodemon](https://npm.io/package/nodemon.md) ^1.9.1
- [mongoose](https://npm.io/package/mongoose.md) ^4.4.12
- [passport](https://npm.io/package/passport.md) ^0.3.2
- [expect.js](https://npm.io/package/expect.js.md) ^0.3.1
- [browserify](https://npm.io/package/browserify.md) ^13.0.0
- [superagent](https://npm.io/package/superagent.md) ^1.8.3
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [body-parser](https://npm.io/package/body-parser.md) ^1.15.0
- [http-status](https://npm.io/package/http-status.md) ^0.2.1
- [wagner-core](https://npm.io/package/wagner-core.md) ^0.2.0
- [connect-flash](https://npm.io/package/connect-flash.md) ^0.1.1
- [cookie-parser](https://npm.io/package/cookie-parser.md) ^1.4.1
- [passport-local](https://npm.io/package/passport-local.md) ^1.0.0
- [express-session](https://npm.io/package/express-session.md) ^1.13.0
- [passport-local-mongoose](https://npm.io/package/passport-local-mongoose.md) ^4.0.0

## Recent versions

- 0.0.4 (latest) — 2016-05-04
- 0.0.3 — 2016-05-04
- 0.0.2 — 2016-05-04
- 0.0.1 — 2016-05-04

## README

# mean-task

A MEAN task list!

Demo task list application built on MEAN stack.

There are two methods for deploying the application.

1. Git Clone + Vagrant
2. npm

Use one of the two deployment methods below, followed by the start section.

## 1. Vagrant Deployment

From Git Bash:

`$ git clone https://github.com/studyingMole/mean-task.git`

`$ cd mean-task`

`$ vagrant up`

Vagrant will provision the box at this point. It may take some time ...

`$ vagrant ssh`

`$ cd /vagrant`

`$ npm install`

If running the Vagrant box on a Windows host, run the `install` command with the `--no-bin-links` switch.

## 2. npm Deployment

Navigate to a folder where you want to deploy the application

`$ npm install mean-task`

`$ cd node_modules/mean-task`

## Start the MEAN app

`$ npm run start`

The application should start listening on port 3000.

Point your favourite web browser to http://localhost:3000

## Development Tools

There are a couple development tools included in the dependencies:

- mocha
- browserify
- nodemon

To make use of node.js features in the angular files, the index.js file needs to be compiled if any changes are made to the angular files (in the `/client` folder).

Use npm to build the compiled index.js file:

`$ npm run build`

A set of mocha test are also included to test the "server" API. To run the tests, simply run:

`$ npm run test`

There's currently a bug when running `test` for the first time after bringing up a Vagrant box, npm will throw errors due to something in the "before all" hook. Just re-run the test command and it should work as expected then.

Lastly, the `start` command starts the app with the nodemon module which allows the server to be quickly reloaded. Simply type `rs` in the console while the web server is running to reload the web server.

Nodemon should automatically reload the server when it detects a file update in the directory, but this doesn't always work ...

---
_Source: https://npm.io/package/mean-task · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
