{"id":23257301,"url":"https://github.com/engineerit2014/ms-echo-go-layout","last_synced_at":"2025-08-07T01:25:38.995Z","repository":{"id":144400029,"uuid":"488002358","full_name":"engineerit2014/ms-echo-go-layout","owner":"engineerit2014","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-04T16:27:22.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T04:42:27.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/engineerit2014.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}},"created_at":"2022-05-02T21:58:07.000Z","updated_at":"2022-05-04T16:24:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"815771cd-29c9-46fe-95b7-357cbacff3b6","html_url":"https://github.com/engineerit2014/ms-echo-go-layout","commit_stats":null,"previous_names":["laironacosta/ms-echo-go-layout"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/engineerit2014/ms-echo-go-layout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineerit2014","download_url":"https://codeload.github.com/engineerit2014/ms-echo-go-layout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go-layout/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269184884,"owners_count":24374606,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-19T12:27:54.297Z","updated_at":"2025-08-07T01:25:38.942Z","avatar_url":"https://github.com/engineerit2014.png","language":"Go","readme":"# Microservice: Echo Framework Example\nThis project shows the use of Echo Framework in Golang.  \n\nThis repository runs a simple main daemon (main) that implements a REST API for users. The daemon uses a postgres database to persist data and after creation uses migrations to create the user schema.\n\n## Table of Contents\n\n- [Running](#running)\n    - [Dependencies](#dependencies)\n    - [Environment Variables](#environment-variables)\n    - [Make Rule](#make-rule)\n- [Testing](#testing)\n    - Coming soon\n\n## Running\n\n### Dependencies \n\nThe only dependencies to run the services in this repository are:\n\n- `docker`\n- `docker-compose`\n\n### Environment Variables\n\nThe program looks for the following environment variables:\n\n- `DB_USER`: The postgres database username that gets used within the postgres connection\nstring (Default: `root`).\n- `DB_PASS`: The postgres database password that gets used within the postgres connection\nstring (Default: `root`).\n- `DB_NAME`: The postgres database name that gets used within the postgres connection string\n(Default: `user`).\n- `DB_HOST`: The postgres database host name that gets used within the postgres connection\nstring (Default `db`).\n- `DB_PORT`: The postgres database port that gets used within the postgres connection string\n(Default: `5432`).\n\nIf the environment variable has a supplied default and none are set within the context of the host\nmachine, then the default will be used.\n \nTo set any given environment variable, simply execute the following\npattern, replacing `[ENV_NAME]` with the name of the environment variable and `[ENV_VALUE]` with the\ndesired value of the environment variable: `export [ENV_NAME]=[ENV_VALUE]`. To unset any set environment\nvariable, simply execute the following pattern, replacing `[ENV_NAME]` with the name of the environment\nvariable: `unset [ENV_NAME]`.\n\n### Make Rule\n\nTo run the services simply execute the following command:\n\n```shell\nmake run\n```\n\nThis will stop any containers defined by the compose file if already running\nand then rebuild the containers using the compose file. The main daemon (`main`)\nwill be available at `localhost:8080` and the postgres instance will be available\nat `localhost:5432`.\n\nTo stop the services simply execute the following command:\n\n```shell\nmake stop\n```\n\nTo down the services simply execute the following command:\n\n```shell\nmake down\n```\n\n## Testing\n\nComing soon","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerit2014%2Fms-echo-go-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineerit2014%2Fms-echo-go-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerit2014%2Fms-echo-go-layout/lists"}