{"id":23011698,"url":"https://github.com/aitumik/greenlight","last_synced_at":"2026-05-10T19:21:42.961Z","repository":{"id":134189086,"uuid":"455528599","full_name":"aitumik/greenlight","owner":"aitumik","description":"Greenlight","archived":false,"fork":false,"pushed_at":"2023-01-18T11:19:14.000Z","size":152,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T07:41:13.536Z","etag":null,"topics":["docker","go","postgresql"],"latest_commit_sha":null,"homepage":"","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/aitumik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2022-02-04T11:50:32.000Z","updated_at":"2025-01-17T12:26:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"70b39228-e416-479a-9157-107f9286b46a","html_url":"https://github.com/aitumik/greenlight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Fgreenlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Fgreenlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Fgreenlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Fgreenlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aitumik","download_url":"https://codeload.github.com/aitumik/greenlight/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856675,"owners_count":20844974,"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","go","postgresql"],"created_at":"2024-12-15T10:10:37.611Z","updated_at":"2026-05-10T19:21:42.956Z","avatar_url":"https://github.com/aitumik.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Greenlight\n\n## Introduction\nGreenlight is an API for handling events and movies\n\n## Setup \n\nSetting up the database\n\nCreate the volume\n```bash\nmkdir -p ${HOME}/postgresql/data\n```\n\nCreate network\n```bash\ndocker network create greenlight-net\n```\n\nStart postgres\n```bash\ndocker run -it -d --name greenlightdb -e POSTGRES_USER=greenlight -e POSTGRES_DB=greenlight -e POSTGRES_PASSWORD=greenlight  -v ${HOME}/postgresql/data:/var/lib/postgresql -p 5432:5432 --net greenlight-net postgres:latest\n```\n\n## Events API\n\n```bash\ncurl -X POST http://localhost:8000/v1/events \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n        \"start_time\": \"2025-04-15T14:00:00Z\",\n        \"end_time\": \"2025-04-15T16:00:00Z\",\n        \"title\": \"Sample Event\",\n        \"description\": \"This is a description of the event.\",\n        \"venue\": \"Sample Venue\",\n        \"tags\": [\"Tag1\", \"Tag2\"],\n        \"cover\": \"http://example.com/cover.jpg\"\n      }'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitumik%2Fgreenlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faitumik%2Fgreenlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitumik%2Fgreenlight/lists"}