Revolution is a modular web server that I made to fit the needs of my projects
Go to file
tgpethan fc8a2afe96 Update .gitignore 2020-06-15 13:57:15 +01:00
.github/workflows Update node.js.yml 2020-06-15 08:54:18 +01:00
config Put the Revolution stuff in the repo 2019-08-17 23:33:00 +01:00
misc Make the code more sane and improve the modularity of Revolution 2019-11-23 19:06:31 +00:00
modules Sort out consoleHelper's Config formatting 2020-03-26 16:25:25 +00:00
.gitignore Update .gitignore 2020-06-15 13:57:15 +01:00
README.md Update README.md 2020-06-15 13:54:19 +01:00
index.js Make sure reqhandler is not null / undefined 2020-06-15 13:34:43 +01:00
package.json Remove items from the package.json that were used in EUS 2019-08-17 23:51:47 +01:00

README.md

Release CodeFactor Discord

What is Revolution?

Revolution is a modular web server, written in node.js and was built with my web projects in mind, but others might find a use in it.

What is Revolution for?

Basically anything web related. As long as you want to try it, its probably possible.

How does Revolution work?

Revolution uses a set of modules to handle various functions, there are two modules included with the repo and builds, these being consoleHelper and example_request_handler. consoleHelper is a required module and as such the server will not start without it although nothing is stopping you from making your own module with the module identifier of handle_console, however example_request_handler can be removed without consequence and is there purely to help with module development.

How do modules work?

Modules are loaded in at runtime and are completely separate from each other. Each module has a prefix, for example the request handlers have the prefix “handle_requests” and the consoleHelper has the prefix of "handle_console". These prefixes help the server to determine the function of each module.

How to use Revolution.

From source

git clone https://github.com/tgpethan/Revolution.git
cd Revolution
npm i
node .

From build

Download latest build https://github.com/tgpethan/Revolution/releases/latest
Unzip the zip
Run the Revolution executable

How to install modules.

With modules you simply have to place the module inside the modules folder and start the server. The modules will automatically set themselves up and the server will start as normal.

Projects Revolution is used in

EUS