{"id":26221726,"url":"https://github.com/centralmind/sample_databases","last_synced_at":"2026-04-29T05:37:37.734Z","repository":{"id":281474574,"uuid":"931524826","full_name":"centralmind/sample_databases","owner":"centralmind","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T14:26:25.000Z","size":18424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-29T05:37:35.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/centralmind.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-12T12:29:05.000Z","updated_at":"2025-03-21T14:26:29.000Z","dependencies_parsed_at":"2025-03-09T11:29:23.459Z","dependency_job_id":null,"html_url":"https://github.com/centralmind/sample_databases","commit_stats":null,"previous_names":["centralmind/sample_databases"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/centralmind/sample_databases","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centralmind%2Fsample_databases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centralmind%2Fsample_databases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centralmind%2Fsample_databases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centralmind%2Fsample_databases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centralmind","download_url":"https://codeload.github.com/centralmind/sample_databases/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centralmind%2Fsample_databases/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32412890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T05:20:56.964Z","status":"ssl_error","status_checked_at":"2026-04-29T05:19:54.749Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-03-12T16:29:20.638Z","updated_at":"2026-04-29T05:37:37.718Z","avatar_url":"https://github.com/centralmind.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href='https://codespaces.new/centralmind/sample_databases'\u003e\u003cimg src='https://github.com/codespaces/badge.svg' alt='Open in GitHub Codespaces' style='max-width: 100%;'\u003e\u003c/a\u003e\n\n# Sample Database API Generation Example using Github Codespaces\n\nThis example demonstrates how to:\n\n- Launch the Discovery process\n- Generate APIs\n- Launch an API Server\n\nThe example uses a sample public PostgreSQL database hosted on Supabase.\n\n## Prerequisites\n\n- \u003ca href=\"https://aistudio.google.com/apikey\"\u003eGoogle Gemeni API Key\u003c/a\u003e - API Free tier is available\n- 🚀 \u003ca href=\"https://codespaces.new/centralmind/sample_databases\u003e\"\u003eLaunch Codespaces\u003c/a\u003e with prepared enviroment\n\n## Usage\n\n### 1. Start the Discovery Process\n\nRun the following commands to start the discovery process. Replace `YOUR_KEY` with your Gemini API key.\nGoogle provides a free tier for API keys without requiring a credit card or a complicated registration process, \u003ca href=\"https://aistudio.google.com/apikey\"\u003ehere\u003c/a\u003e:\n\n```bash\nexport GEMINI_API_KEY=YOUR_KEY\n```\n\n```bash\n./gateway discover \\\n  --config connection.yaml \\\n  --ai-provider gemini \\\n  --prompt \"Develop an API that enables a chatbot to retrieve information about data. Try to place yourself as analyst and think what kind of data you will require, based on that come up with useful API methods for that\"\n```\n\n### 2. Launch the REST API Server\n\nTo start the REST API server and test its functionality, run:\n\n```bash\n./gateway start rest \\\n  --config gateway.yaml \\\n  --servers https://${CODESPACE_NAME}-9090.app.github.dev/\n```\n\n## Note\n\nMake sure you have the necessary configuration files (`connection.yaml` and `gateway.yaml`) set up before running the commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentralmind%2Fsample_databases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentralmind%2Fsample_databases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentralmind%2Fsample_databases/lists"}