{"id":46732667,"url":"https://github.com/wastingnotime/contacts-backend-go-echo","last_synced_at":"2026-03-09T15:37:10.309Z","repository":{"id":44553686,"uuid":"272976235","full_name":"wastingnotime/contacts-backend-go-echo","owner":"wastingnotime","description":"This repository maintain a golang/echo application that is part of \"contacts\" project, an initiative to explore technologies features.","archived":false,"fork":false,"pushed_at":"2025-11-20T10:37:32.000Z","size":60,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T05:27:12.981Z","etag":null,"topics":["crud-api","echo","golang","gorm","migrations","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wastingnotime.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,"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":"2020-06-17T13:06:41.000Z","updated_at":"2025-11-20T10:37:35.000Z","dependencies_parsed_at":"2024-06-19T00:45:47.850Z","dependency_job_id":"14ddc3eb-cdb9-4313-a36b-627a63046348","html_url":"https://github.com/wastingnotime/contacts-backend-go-echo","commit_stats":null,"previous_names":["wastingnotime/contacts-backend-go-echo","henriquericcio/contacts-backend-go-echo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wastingnotime/contacts-backend-go-echo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastingnotime%2Fcontacts-backend-go-echo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastingnotime%2Fcontacts-backend-go-echo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastingnotime%2Fcontacts-backend-go-echo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastingnotime%2Fcontacts-backend-go-echo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wastingnotime","download_url":"https://codeload.github.com/wastingnotime/contacts-backend-go-echo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastingnotime%2Fcontacts-backend-go-echo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":["crud-api","echo","golang","gorm","migrations","sqlite"],"created_at":"2026-03-09T15:37:09.781Z","updated_at":"2026-03-09T15:37:10.294Z","avatar_url":"https://github.com/wastingnotime.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# contacts-backend-go-echo\n\n**contacts-backend-go-echo** is part of \"contacts\" project that is an initiative where we try to explore frontend and backend implementations in order to better understand it cutting-edge features. This repository presents a golang rest API sample.\n\n## status\n\nThis repository belongs to the Contacts reference initiative started in 2020.\n\nIts purpose was to understand how different stacks shape design decisions around the same domain model.\n\nAs of 2026, this project is frozen.\n\nThe exploration phase has been completed.  \nMy current focus is depth, invariants, and system coherence rather than stack comparison.\n\nThis code remains as historical reference.\n\n## stack\n* golang 1.24\n* echo\n* sqlite\n* gorm\n\n## features\n* migrations\n* high concurrent\n* small footprint\n\n## get started (linux only)\n\n### option 1 - use latest docker image from dockerhub\n\nexecute the remote docker image\n```\ndocker run -p 8010:8010 wastingnotime/contacts-backend-go-echo:0.1.0-alpha\n```\n\n### option 2 - build and run a local docker image\nbuild a local docker image\n```\ndocker build --tag contacts.backend.go.echo .\n```\n\nexecute the local docker image\n```\ndocker run -p 8010:8010 contacts.backend.go.echo\n```\n### option 3 - execute from source code\n\n- first, install golang 1.24+, if you don't have it on your computer:  [how to install golang](https://go.dev/doc/install)\n- go to root of solution and execute the commands below\n\nset environment for development\n```\ncp .env_example .env\n```\n\nupdate deps\n```\n go get -u -v\n go mod tidy\n```\n\nand then run the application\n```\ngo run .\n```\n\n## testing\ncreate a new contact\n```\ncurl --request POST \\\n  --url http://localhost:8010/contacts \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n\t\"firstName\": \"Albert\",\n\t\"lastName\": \"Einstein\",\n\t\"phoneNumber\": \"2222-1111\"\n  }'\n```\n\nretrieve existing contacts\n```\ncurl --request GET \\\n  --url http://localhost:8010/contacts\n```\nmore examples and details about requests on (link) *to be defined\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwastingnotime%2Fcontacts-backend-go-echo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwastingnotime%2Fcontacts-backend-go-echo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwastingnotime%2Fcontacts-backend-go-echo/lists"}