{"id":18426402,"url":"https://github.com/complate/complate-sample-http4k","last_synced_at":"2025-10-24T08:43:35.721Z","repository":{"id":94858499,"uuid":"109274119","full_name":"complate/complate-sample-http4k","owner":"complate","description":"complate sample using HTTP4K and complate-http4k","archived":false,"fork":false,"pushed_at":"2018-02-02T14:35:05.000Z","size":99,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-16T08:26:54.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/complate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-02T14:17:42.000Z","updated_at":"2017-11-02T14:24:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc109261-1927-4507-b499-a337ab9c8d97","html_url":"https://github.com/complate/complate-sample-http4k","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/complate%2Fcomplate-sample-http4k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/complate%2Fcomplate-sample-http4k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/complate%2Fcomplate-sample-http4k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/complate%2Fcomplate-sample-http4k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/complate","download_url":"https://codeload.github.com/complate/complate-sample-http4k/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766311,"owners_count":21158297,"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":[],"created_at":"2024-11-06T05:07:51.055Z","updated_at":"2025-10-24T08:43:30.690Z","avatar_url":"https://github.com/complate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# complate sample using HTTP4k\n\n[![Build Status](https://travis-ci.org/complate/complate-sample-http4k.svg?branch=master)](https://travis-ci.org/complate/complate-sample-http4k)\n    \nThis sample demonstrates the usage of [complate](https://github.com/complate) as a templating engine for \n[HTTP4K](https://http4k.org) (a Kotlin based HTTP toolkit). Therefore, this demo project makes use of the \n[complate-http4k](https://github.com/complate/complate-http4k) adapter.\n\n\n## Setup\n\n**Pre**  \nPlease download, build and install [complate-http4k](https://github.com/complate/complate-http4k) locally. As mentioned\nabove, the library get's not published to MavenCentral at the moment. \n  \n  \nStarting the application:\n  \n1. installing dependencies: `./gradlew npmInstall`\n2. build the templates: `npm run compile`\n3. start the server: `./gradlew build run`\n  \nThe test routing \"/person\" is available under [http://localhost:9000/person](http://localhost:9000/person)\n\nYou should see something like this:   \n![person view](doc/view_person.png)\n  \n  \nNOTE: as you see, you'll need to have a _Java_, _Gradle_ and _npm_ running on your device. \n\n\n## Templates\n\nThe templates are located in the `src/main/frontend/views` folder. To enable live compilation of the templates,\nyou'll need to start another process beside the running server:\n\n    npm start compile\n\nAny changes to the source templates will be compiled directly and should take effect immediately.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplate%2Fcomplate-sample-http4k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomplate%2Fcomplate-sample-http4k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplate%2Fcomplate-sample-http4k/lists"}