0.3.19 • Published 7 years ago

essen v0.3.19

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

Essen.js

Inspired by Sails.js, powered by Express.js

NPM Version NPM Downloads

Install

$ npm install essen -g
$ essen create -t users -p projectfolder

Run

$ cd project_name
$ node app.js

Configure

  • config/custom.js - Custom cofig. Define your global variables here
  • config/server.js - Server config. Change port and name for your app
  • config/db.js - DB config. Change host and DB name for your mongoDB
  • config/bootstrap.js - Code inside this module will be executed before HTTP server starts
  • config/log.js - Logger config. Only level option here
  • config/middlewares.js - Middlewares config. Use this array to push your own middlewares. Position on array means middleware position on request
  • config/env.js - Environment configs. Configure DB and server for each NODE_ENV
  • config/socket.js - Socket config. Enable or disable socket.io listener
  • controllers - Controllers directory. Check IndexController.js for example
  • models - Models directory. Check UserModel.js for example
  • middleware - Middleware directory. Check some of them, it's simple Express middleware
  • router - Router folder. Create your routes here
  • services - Services directory. You can use each service in every place

Features

  • Quick start
  • Router with children and namespaces
  • API versioning
  • Human style controllers
  • ORM with methods, statics, middleware
  • Custom requests middleware
  • Environment configs
  • Socket.io support
  • Handy CLI (generator)

TODO

  • Cli -> Clear dir when its not empty
  • Core -> errors handling
  • Core -> refactoring
  • Security Policies

License

ISC

0.3.19

7 years ago

0.3.18

7 years ago

0.3.17

7 years ago

0.3.16

7 years ago

0.3.15

7 years ago

0.3.14

7 years ago

0.3.12

7 years ago

0.3.11

7 years ago

0.3.10

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.12

7 years ago

0.2.11

7 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago