{"id":20516954,"url":"https://github.com/hellbus1/social-media-app","last_synced_at":"2026-04-16T23:33:30.529Z","repository":{"id":228620908,"uuid":"773909580","full_name":"HellBus1/social-media-app","owner":"HellBus1","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-26T16:38:50.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T10:11:04.539Z","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/HellBus1.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}},"created_at":"2024-03-18T15:59:42.000Z","updated_at":"2024-03-18T20:55:35.000Z","dependencies_parsed_at":"2024-03-22T10:25:00.806Z","dependency_job_id":"41f0a1dd-7636-4a3d-a1c1-c530c535b606","html_url":"https://github.com/HellBus1/social-media-app","commit_stats":null,"previous_names":["hellbus1/social-media-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HellBus1%2Fsocial-media-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HellBus1%2Fsocial-media-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HellBus1%2Fsocial-media-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HellBus1%2Fsocial-media-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HellBus1","download_url":"https://codeload.github.com/HellBus1/social-media-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242120235,"owners_count":20074877,"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-11-15T21:32:58.786Z","updated_at":"2026-04-16T23:33:30.492Z","avatar_url":"https://github.com/HellBus1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang-marketplace-app\n\n## Prerequisites\n1. Installed ```golang-migrate-cli```, here is the how to https://github.com/golang-migrate/migrate/tree/master/cmd/migrate\n\n## How to run\n1. Run ```go mod tidy``` to install \u0026 remote unecessary dependencies\n2. Run ```go run main.go``` the server will be start in port :8000 (you can test by call /health-check)\n\n## Configuration .env file\n1. Create .env file in root project from copy .env.example and fill the value based on your environment (development, staging, production)\n\n## Migration guide\n1. Add migration script\n```\nmigrate create -ext sql -dir migrations -seq add_user_table\n```\n\n2. To execute migration\n```\nmigrate -database \"postgres://{username}:{password}@{host}:{port}/{dbname}?sslmode=disable\" -path migrations up\n```\n\n3. To rollback migration\n```\nmigrate -database \"postgres://{username}:{password}@{host}:{port}/{dbname}?sslmode=disable\" -path migrations down\n```\n\n4. Example\n```\nmigrate -database \"postgres://postgres:P4ssW0rd@localhost:5434/marketplace_db?sslmode=disable\" -path migrations up\n```\n\n5. If you want to add postgres docker for local development\n```\ndocker pull postgres\ndocker run --name marketplace-app -e POSTGRES_PASSWORD=\"P4ssW0rd\" -e POSTGRES_DB=\"marketplace_db\" -d -p 5434:5432 postgres\n```\ndefault username is 'postgres'\n\n## Unit Test guide\n1. To run the test (right now is in specific folder, i don't know how to run all yet XD)\n```\ngo test ./test/controllers -v\ngo test ./test/services -v\n...\n```\n\ni'll looking about this later (the most important, coverage)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellbus1%2Fsocial-media-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellbus1%2Fsocial-media-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellbus1%2Fsocial-media-app/lists"}