# express-autoload

> Express autoload

Latest version **0.2.0** (published 2013-10-14) · 0 weekly downloads

## Install

```sh
npm install express-autoload
pnpm add express-autoload
yarn add express-autoload
bun add express-autoload
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2013-10-14 |
| First published | 2012-12-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.2 |
| Dependencies | 13 |
| Known vulnerabilities | 0 (+25 in 6 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Tugdual de Kerviler |
| Maintainers | tug |
| Keywords | express-autoload, mvc, express, mongodb, redis, socket-io |

## Links

- npm: https://www.npmjs.com/package/express-autoload
- Repository: http://github.com/Tug/express-autoload
- Issues: https://github.com/Tug/express-autoload/issues
- npm.io page: https://npm.io/package/express-autoload

## Dependencies (13)

- [step](https://npm.io/package/step.md) 0.0.5
- [debug](https://npm.io/package/debug.md) 0.7.0
- [redis](https://npm.io/package/redis.md) 0.8.1
- [connect](https://npm.io/package/connect.md) 2.6.0
- [express](https://npm.io/package/express.md) 3.0.0
- [hiredis](https://npm.io/package/hiredis.md) 0.1.15
- [mongodb](https://npm.io/package/mongodb.md) 1.1.11
- [mongoose](https://npm.io/package/mongoose.md) ~3.6.8
- [socket.io](https://npm.io/package/socket.io.md) 0.9.14
- [amd-loader](https://npm.io/package/amd-loader.md) 0.0.5
- [connect-redis](https://npm.io/package/connect-redis.md) 1.4.4
- [connect-mongodb](https://npm.io/package/connect-mongodb.md) 1.1.5
- [socket.io-client](https://npm.io/package/socket.io-client.md) 0.9.11

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2013-10-14
- 0.1.11 — 2013-08-30
- 0.1.10 — 2013-08-04
- 0.1.8 — 2013-05-08
- 0.1.7 — 2013-04-28
- 0.1.6 — 2013-04-28
- 0.1.5 — 2013-04-06
- 0.1.4 — 2013-04-04
- 0.1.3 — 2013-04-04
- 0.1.2 — 2013-01-06
- 0.1.1 — 2013-01-05
- 0.1.0 — 2012-12-09

## README

# Express-autoload

Express autoload is a set of tools to configure an Express.js application.
Create a config file, define the paths for your controllers, models and views and express-autoload will load your files, connect to the database, authenticate...


## Requirements
* Node.js >= v0.6.2

## Installation
* npm install express-autoload

## Configuring
Create a config.js file and edit it to set your configuration properties such as database host, port, username, password, etc.

## Using

    var autoloadApp = require('express-autoload')
      , config = require('./config');
    
    autoloadApp(config, function(err, app) {
        if(err) {
            console.log(err.stack || err);
            return;
        }
        
        app.server.listen(config.port, config.hostname, function() {
            console.log('Server started on port %s in %s mode',
                        app.server.address().port,
                        app.express.settings.env);
        });
    });

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