event_request
v36.0.0
Published
A Backend Server
Downloads
81
Maintainers
Keywords
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