Update README.md

This commit is contained in:
Ethan Stubbs 2020-06-15 09:27:11 +01:00 committed by GitHub
parent 4506d3e908
commit eab209a460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,16 @@
<img align="center" height="150" src="http://ethanus.ml/images/Revolution.png">
</h1>
[![Release](https://img.shields.io/github/v/release/tgpethan/revolution.svg)](https://github.com/tgpethan/Revolution/releases/latest)
[![CodeFactor](https://www.codefactor.io/repository/github/tgpethan/revolution/badge)](https://www.codefactor.io/repository/github/tgpethan/revolution)
[![Discord](https://img.shields.io/discord/477024246959308810?color=7289da&label=Discord&logo=discord&logoColor=ffffff)](https://discord.gg/BV8QGn6)
## What is Revolution?
Revolution is a modular web framework, written in node.js and built with the purpose of being a solid framework that apps can build upon to get up and running quickly and easily. Revolution is designed to make it easy to create the application you need, with no waste.
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. As long as you want to try it, its probably possible.
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 framework will not start without it, however example_request_handler can be removed without consequence and is there purely to help with module development.
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, 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.