JSPM

  • Created
  • Published
  • Downloads 261
  • Score
    100M100P100Q82217F
  • License GPL-3.0

A Backend Server

Package Exports

  • event_request
  • event_request/server/components/caching/data_server
  • event_request/server/components/caching/data_server.js
  • event_request/server/components/error/error_handler
  • event_request/server/components/error/error_handler.js
  • event_request/server/components/session/session
  • event_request/server/components/session/session.js
  • event_request/server/components/validation/validation_result
  • event_request/server/components/validation/validation_result.js
  • event_request/server/index.js
  • event_request/server/plugins/available_plugins/data_server_plugin
  • event_request/server/plugins/available_plugins/data_server_plugin.js
  • event_request/server/plugins/available_plugins/rate_limits_plugin
  • event_request/server/plugins/available_plugins/rate_limits_plugin.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (event_request) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

EventRequest

A highly customizable, async-first, speed-oriented backend server in NodeJs. The latest 3 LTS versions of node are targeted for support.

linux-12.x linux-14.x linux-16.x linux-18.x

windows-12.x windows-14.x windows-16.x windows-187.x

Codacy Badge

CodeFactor Codacy Badge DeepScan grade

GitHub last commit GitHub last commit (branch) GitHub issues Maintenance Known Vulnerabilities npm version npm npm

CHANGELOG || BENCHMARKS

Documentation:

Check out the docs section or go to: Documentation.

Contents

  • Getting Started - What this framework does and how does it operate?
  • Event Request - The main object passed through every middleware
  • Server - Server object used to attach to the http server
  • Routing - How routing works
  • Functionality

Quick Setup

// Framework Singleton instance
const app = require( 'event_request' )();

// Add a new Route
app.get( '/', ( event ) => {
 event.send( '<h1>Hello World!</h1>' );
});

// Start Listening
app.listen( 80, () => {
 app.Loggur.log( 'Server started' );
});

External Plug-ins:

Example Projects: