{"id":28403665,"url":"https://github.com/firecmsco/datatalk-hackathon","last_synced_at":"2025-06-27T08:31:23.740Z","repository":{"id":237071960,"uuid":"793678736","full_name":"firecmsco/datatalk-hackathon","owner":"firecmsco","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-23T21:45:29.000Z","size":888,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T03:49:41.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/firecmsco.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-04-29T17:00:44.000Z","updated_at":"2024-05-23T21:45:33.000Z","dependencies_parsed_at":"2024-05-04T10:15:33.324Z","dependency_job_id":null,"html_url":"https://github.com/firecmsco/datatalk-hackathon","commit_stats":null,"previous_names":["firecmsco/datatalk-hackathon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/firecmsco/datatalk-hackathon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firecmsco%2Fdatatalk-hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firecmsco%2Fdatatalk-hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firecmsco%2Fdatatalk-hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firecmsco%2Fdatatalk-hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firecmsco","download_url":"https://codeload.github.com/firecmsco/datatalk-hackathon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firecmsco%2Fdatatalk-hackathon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262222266,"owners_count":23277391,"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":"2025-06-01T18:38:16.376Z","updated_at":"2025-06-27T08:31:23.729Z","avatar_url":"https://github.com/firecmsco.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# datatalk-hackathon\n\nYou can find the live demo at [https://fire-cms-devrel-demo.web.app](https://fire-cms-devrel-demo.web.app).\n\n## Backend\n\n### Steps to run the backend\n\nChange directory to the `functions` folder:\n\n1. Clone the project\n2. Change directory to the `functions` folder:\n    ```bash\n    cd functions\n    ```\n3. Run \n   ```bash\n   npm install\n   ```\n4. Create a service account to run locally.\n\n   To run, create a service account for the *App Engine default service account* and download the JSON file. Then, set\n   the environment variable `GOOGLE_APPLICATION_CREDENTIALS` to the path of the JSON file.\n\n   Example: `export GOOGLE_APPLICATION_CREDENTIALS=/Users/developer/datatalk-hackathon/sample-service-account.json`\n\n5. Go to .firebaserc and change the default project to your project id\n6. Go to functions/ and copy .env.template to .env and set up the GEMINI API KEY\n\n### Steps to configure the Google Cloud Project\n\n1. You need a firebase project\n2. Enable and configure firebase auth\n3. Enable and configure firestore\n4. Enable and configure IAM Service Account Credentials\n   API, https://console.developers.google.com/apis/api/iamcredentials.googleapis.com/overview?project=PROJECT_ID\n5. Enable Vertex AI Studio and Vertex AI\n   API, https://console.cloud.google.com/vertex-ai/generative?referrer=search\u0026project=PROJECT_ID\n   and https://console.cloud.google.com/apis/library/aiplatform.googleapis.com?project=PROJECT_ID\n6. Add Vertex AI permissions to default service\n   account, https://console.cloud.google.com/iam-admin/iam?project=PROJECT_ID\n\n### Running the backend\n\nRun the backend locally with\n```bash\nnpm run serve\n```\n\n### Deploying the backend\n\nDeploy the backend with \n```bash\nnpm run deploy\n```\n\n## Frontend\n\nThis is the frontend for the DataTalk project. It is a React application that\nuses some of the components from the [FireCMS](https://firecms.co) project.\n\nThis project is configured with the project `fire-cms-devrel-demo` but can be used with any Firebase project.\nIf you want to use a different project, make sure to change the Firebase config in `src/firebase_config.ts`.\n\nIt is also connecting by default to the backend of this demo project, which is hosted\nat `https://fire-cms-devrel-demo.web.app`.\n\n### Running the project\n\nChange directory to the `app` folder:\n\n```bash\ncd app\n```\n\nInstall the dependencies:\n\n```bash\nnpm i\n```\n\nAnd run the project locally:\n\n```bash\nnpm run dev\n```\n\n### Building the project\n\nMake sure you update your `package.json` `build` script with the correct\nproject name. Then run:\n\n```bash\nnpm run build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirecmsco%2Fdatatalk-hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirecmsco%2Fdatatalk-hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirecmsco%2Fdatatalk-hackathon/lists"}