Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

ummo93/EasyWeb

Repository files navigation

EasyWeb (modern wrapper for com.sun.net.httpserver)

Repo

EasyWeb is easiest web framework with a minimal number of dependencies inspired by ExpressJS. Founded on com.sun.net.httpserver package.

Requirements and dependencies

Installation as maven dependency

In pom.xml file there should be an instruction containing the repository address:

   <repositories>
       <repository>
           <id>jitpack.io</id>
           <url>https://jitpack.io</url>
       </repository>
   </repositories>

And a dependency name in dependencies section:

   <dependency>
       <groupId>com.github.ummo93</groupId>
       <artifactId>EasyWeb</artifactId>
       <version>1.1.0</version>
   </dependency>

Getting started

import static com.appartika.easyweb.Core.*;

public class Main {
    public static void main(String[] args) {
    
        get("/", (req, res) -> res.send("ok", 200));
	
        listen(5000);
    }
}

For details, use the wiki:

License

MIT

About

EasyWeb (modern wrapper for com.sun.net.httpserver). EasyWeb is easiest web framework with a minimal number of dependencies inspired by ExpressJS. Founded on com.sun.net.httpserver package.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages