{"id":21577590,"url":"https://github.com/harium/marine","last_synced_at":"2025-07-15T19:19:41.234Z","repository":{"id":57724841,"uuid":"99944171","full_name":"Harium/marine","owner":"Harium","description":"A boiler plate web framework over sparkjava","archived":false,"fork":false,"pushed_at":"2021-02-03T15:49:53.000Z","size":18,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T14:14:27.098Z","etag":null,"topics":["boilerplate","java","sparkjava","sparkjava-framework","web"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Harium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-10T16:35:52.000Z","updated_at":"2021-02-03T15:49:55.000Z","dependencies_parsed_at":"2022-09-11T20:10:50.705Z","dependency_job_id":null,"html_url":"https://github.com/Harium/marine","commit_stats":null,"previous_names":["harium/web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harium%2Fmarine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harium%2Fmarine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harium%2Fmarine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harium%2Fmarine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Harium","download_url":"https://codeload.github.com/Harium/marine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244174898,"owners_count":20410589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","java","sparkjava","sparkjava-framework","web"],"created_at":"2024-11-24T13:07:39.346Z","updated_at":"2025-03-18T07:25:19.216Z","avatar_url":"https://github.com/Harium.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marine\nA web framework built over sparkjava\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.harium.marine/core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.harium.marine/core/)\n\n## Maven\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.harium.marine\u003c/groupId\u003e\n    \u003cartifactId\u003ecore\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\nExample using [dotenv](https://github.com/Harium/dotenv).\n```\n...\npublic class Main {\n\n    public static void main(String[] args) {\n        System.out.println(\"Starting Server\");\n\n        String host = Env.get(\"HOST\");\n        System.out.println(host);\n\n        Web.port(Integer.parseInt(Env.get(\"PORT\")));\n        Web.host(host);\n\n        // Defining public resources\n        Web.staticFileLocation(\"/public\");\n\n        // Register Web Modules\n        Web.register(HealthCare.class); // Using class\n        Web.register(() -\u003e get(\"/hello\", (req, res) -\u003e \"Hello World\")); // Using instance\n        // Init Web Modules\n        Web.init();\n    }\n}\n```\n\n## Need more information?\nSee examples","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharium%2Fmarine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharium%2Fmarine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharium%2Fmarine/lists"}