Skip to content

The ServerUtilities ChatTriggers module, an express-like wrapper for the Java HTTP Server Apis

License

Notifications You must be signed in to change notification settings

MisterCheezeCake/ServerUtilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerUtilities

ServerUtilities is a module that provides an express like abstraction on top of Java's built in HTTP server methods

Example

import HTTPServer from "../ServerUtilities";
const server = new HTTPServer();

server.get("/", (req, res) => {
    res.status(200).send("Hello World")
})

server.listen(8080)

A more detailed example can be found in example.js

License

ServerUtilities is licensed under the GNU AGPL 3

Support, Suggestions, and Bugs

For support or to make suggestions/bug reports, join my Discord. You can also ask for help in the #code-help channel of the ChatTriggers Discord.

About

The ServerUtilities ChatTriggers module, an express-like wrapper for the Java HTTP Server Apis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published