{"id":36441230,"url":"https://github.com/alwedo/echo","last_synced_at":"2026-01-11T21:58:12.962Z","repository":{"id":262316242,"uuid":"886838104","full_name":"alwedo/echo","owner":"alwedo","description":"Echo serves ephemeral/mock endpoints created with parameters specified by clients.","archived":false,"fork":false,"pushed_at":"2024-11-12T13:35:18.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T04:37:49.173Z","etag":null,"topics":["api","backend","go","golang","http-server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alwedo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-11T17:38:54.000Z","updated_at":"2024-11-12T13:35:22.000Z","dependencies_parsed_at":"2024-11-11T19:40:53.788Z","dependency_job_id":"7b78b849-31a9-4abd-9df2-b8ef12ad6614","html_url":"https://github.com/alwedo/echo","commit_stats":null,"previous_names":["alvaroalonsobabbel/echo","alwedo/echo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alwedo/echo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Fecho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Fecho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Fecho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Fecho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alwedo","download_url":"https://codeload.github.com/alwedo/echo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Fecho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","backend","go","golang","http-server"],"created_at":"2026-01-11T21:58:12.340Z","updated_at":"2026-01-11T21:58:12.945Z","avatar_url":"https://github.com/alwedo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# echo\n\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/Alvaroalonsobabbel/echo) ![Test](https://github.com/Alvaroalonsobabbel/echo/actions/workflows/test.yaml/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/Alvaroalonsobabbel/echo)](https://goreportcard.com/report/github.com/Alvaroalonsobabbel/echo)\n\nEcho serves ephemeral/mock endpoints created with parameters specified by clients and it's based on [these requirements](echo.md).\n\n## Technical information\n\nThis application was built using Go, and the endpoints use [JSON:API v1.0](https://jsonapi.org/) as a format.\n\n## Run locally\n\n⚠️ This document assumes you know how to use git, the terminal and are comfortable around http calls.\n\n1. [Install Go](https://go.dev/doc/install)\n2. (optional) Run the tests with `make test`\n3. (optional) Run the linter with `make lint` - you have to have [golangci-lint](https://golangci-lint.run/welcome/install/) installed.\n4. Start the server with `make run`\n\nUse cURL or Postman to send HTTP requests to the server at: `http://localhost:3000`\n\nThe Server works using the exact API documentation specified in the [requirements' examples](echo.md#examples).\n\nTo alleviate the burden of the tester, this implementation comes with an in-memory DB and four seeded endpoints.\n\n## Quick cURL commands to test the server\n\nView endpoints:\n\n```bash\ncurl -L -X GET 'http://127.0.0.1:3000/endpoints'\n```\n\nQuery an existing endpoint:\n\n```bash\ncurl -L -X GET 'http://127.0.0.1:3000/revert_entropy'\n```\n\nSubmit an endpoint:\n\n```bash\ncurl -L -X POST 'http://127.0.0.1:3000/endpoints' \\\n-H 'Content-Type: application/vnd.api+json' \\\n-d '{\n    \"data\": {\n        \"type\": \"endpoints\",\n        \"attributes\": {\n            \"verb\": \"GET\",\n            \"path\": \"/say_hi\",\n            \"response\": {\n              \"code\": 200,\n              \"headers\": {\"Content-Type\":\"text/plain\"},\n              \"body\": \"hi!\"\n            }\n        }\n    }\n}'\n```\n\nNow you can run View endpoints again to check the endpoint is there.\n\nUse the endpoint:\n\n```bash\ncurl -L -X GET 'http://127.0.0.1:3000/say_hi'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwedo%2Fecho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falwedo%2Fecho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwedo%2Fecho/lists"}