{"id":23257302,"url":"https://github.com/engineerit2014/ms-echo-go","last_synced_at":"2025-08-20T14:33:26.040Z","repository":{"id":52806584,"uuid":"357601641","full_name":"engineerit2014/ms-echo-go","owner":"engineerit2014","description":"RestfulAPI Microservice with Echo Framework and the following implementations: Postgresql DB, Postgresql Migrations, Middleware, Error Handling and I18n.","archived":false,"fork":false,"pushed_at":"2021-04-18T19:11:46.000Z","size":27,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T00:43:28.649Z","etag":null,"topics":["docker-compose","dockerfile","echo-","echo-framework","error-handler","error-middleware","golang","i18n","i18n-golang","i18n-middleware","makerfile","microservice","migrations","postgres-database","postgresql","restful-api"],"latest_commit_sha":null,"homepage":"https://github.com/laironacosta/ms-echo-go","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}},"created_at":"2021-04-13T15:27:42.000Z","updated_at":"2024-04-02T15:21:45.000Z","dependencies_parsed_at":"2022-08-28T18:01:10.396Z","dependency_job_id":null,"html_url":"https://github.com/engineerit2014/ms-echo-go","commit_stats":null,"previous_names":["laironacosta/ms-echo-go"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-echo-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineerit2014","download_url":"https://codeload.github.com/engineerit2014/ms-echo-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230433260,"owners_count":18225068,"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":["docker-compose","dockerfile","echo-","echo-framework","error-handler","error-middleware","golang","i18n","i18n-golang","i18n-middleware","makerfile","microservice","migrations","postgres-database","postgresql","restful-api"],"created_at":"2024-12-19T12:27:54.487Z","updated_at":"2024-12-19T12:27:55.060Z","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","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineerit2014%2Fms-echo-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerit2014%2Fms-echo-go/lists"}