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.
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
- Components - Different components of the framework
- plugins - Documentation on all the plugins supported by the framework
- Logging - Logging suite of the Framework
- Validation - Validate your input parameters!
- Error Handling - Handle errors in your app
- Testing - Test your app!
- Example Code - Look at some examples of how to use the framework
- 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:
- https://www.npmjs.com/package/er_memcached_data_server - memcached data server
- https://www.npmjs.com/package/er_redis_data_server - redis data server
Example Projects:
- https://github.com/Michaelpalacce/Server - A Web App that emulates a File System on your browser and can be used to upload/download/delete files, images, audio and etc as well as stream videos directly from your browser
- https://github.com/Michaelpalacce/personal-website-vue - My website written with the framework.
- https://github.com/Michaelpalacce/SimpleSecrets - A K8S Secrets Operator