Harium Web Framework

A web framework over sparkjava

License

License

Harium Commercial License
GroupId

GroupId

com.harium.web
ArtifactId

ArtifactId

core
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Harium Web Framework
A web framework over sparkjava

Download core

How to add to project

<!-- https://jarcasting.com/artifacts/com.harium.web/core/ -->
<dependency>
    <groupId>com.harium.web</groupId>
    <artifactId>core</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.harium.web/core/
implementation 'com.harium.web:core:1.0.2'
// https://jarcasting.com/artifacts/com.harium.web/core/
implementation ("com.harium.web:core:1.0.2")
'com.harium.web:core:jar:1.0.2'
<dependency org="com.harium.web" name="core" rev="1.0.2">
  <artifact name="core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.harium.web', module='core', version='1.0.2')
)
libraryDependencies += "com.harium.web" % "core" % "1.0.2"
[com.harium.web/core "1.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
com.sparkjava : spark-core jar 2.6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Marine

A web framework over sparkjava

Maven

<dependency>
    <groupId>com.harium.marine</groupId>
    <artifactId>core</artifactId>
    <version>1.0.0</version>
</dependency>

Usage

Example using dotenv.

...
public class Main {

    public static void main(String[] args) {
        System.out.println("Starting Server");

        String host = Env.get("HOST");
        System.out.println(host);

        Web.port(Integer.parseInt(Env.get("PORT")));
        Web.host(host);

        Web.staticFileLocation("/public");

        // Register Web Modules
        Web.register(HealthCare.class);
        // Init Web Modules
        Web.init();
    }
}

Need more information?

See examples

com.harium.web

Harium

Versions

Version
1.0.2
1.0.1
1.0