{"id":23257299,"url":"https://github.com/engineerit2014/ms-go-layout","last_synced_at":"2026-01-11T23:55:05.900Z","repository":{"id":57695210,"uuid":"489158523","full_name":"engineerit2014/ms-go-layout","owner":"engineerit2014","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-14T19:18:48.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T10:53:53.027Z","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}},"created_at":"2022-05-05T23:49:04.000Z","updated_at":"2022-05-24T18:35:35.000Z","dependencies_parsed_at":"2022-09-06T10:40:38.182Z","dependency_job_id":null,"html_url":"https://github.com/engineerit2014/ms-go-layout","commit_stats":null,"previous_names":["laironacosta/ms-go-layout"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-go-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-go-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-go-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerit2014%2Fms-go-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineerit2014","download_url":"https://codeload.github.com/engineerit2014/ms-go-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436140,"owners_count":20938532,"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-12-19T12:27:54.210Z","updated_at":"2026-01-11T23:55:05.858Z","avatar_url":"https://github.com/engineerit2014.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project\nThis project is an example of layout using the Clean Architecture concepts.  \n\n## Table of Contents\n\n- [Running](#running)\n    - [Dependencies](#dependencies)\n    - [Environment Variables](#environment-variables)\n\n## Running\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### 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]`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerit2014%2Fms-go-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineerit2014%2Fms-go-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerit2014%2Fms-go-layout/lists"}