event_request

A Backend Server

Usage no npm install needed!

<script type="module">
  import eventRequest from 'https://cdn.skypack.dev/event_request';
</script>

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-15.x linux-16.x linux-17.x

windows-12.x windows-14.x windows-15.x windows-16.x windows-17.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

  1. Getting Started - What this framework does and how does it operate?
  2. Event Request - The main object passed through every middleware
  3. Server - Server object used to attach to the http server
  4. Routing - How routing works
  5. Functionality
    1. Components - Different components of the framework
    2. plugins - Documentation on all the plugins supported by the framework
    3. Logging - Logging suite of the Framework
    4. Validation - Validate your input parameters!
    5. Error Handling - Handle errors in your app
  6. Testing - Test your app!
  7. Example Code - Look at some examples of how to use the framework
    1. Example Kernel with everything you need to get started

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: