0.7.10 • Published 6 years ago

apes v0.7.10

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

apes.js

END OF DEVELOPMENT NOTICE - This package has been discontinued

A tiny application and HTTP API framework for Express.js.

Supported implementations.

apes.js is written using async/await, which is available from Node 7.0.0 using --harmony_async-await flag.

Usage

Standalone application

To create a Node.js application which already takes care of logging, call the Application.execute and provide a main function.

The function will be called with a application object, which has a logger setup.

const apes = require('apes')

apes.Application.execute('confRoot', application => {
  // Do something here
})

HTTP Server

To create a fully working light-weight HTTP server, call HTTPServer.execute providing a root key in the package.json and a main function.

The function will be called with a server object, which has a express property to define routes.

const apes = require('apes')

apes.HTTPServer.execute('confRoot.http', server => {
  // Do something here - Core logic goes here, by adding routes to server.express
})

API Documentation

The API documentation can be found here.

Contributing to apes.js

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
  • Fork the project.
  • Start a feature/bugfix branch.
  • Commit and push until you are happy with your contribution.
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

Copyright

Copyright (C) 2016 and above Shogun shogun@cowtech.it.

Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.

0.7.10

6 years ago

0.7.9

7 years ago

0.7.8

9 years ago

0.7.7

9 years ago

0.7.6

9 years ago

0.7.5

9 years ago

0.7.4

9 years ago

0.7.3

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.1.0

9 years ago