{"id":22092625,"url":"https://github.com/auth0-lab/market0","last_synced_at":"2025-07-24T20:32:20.988Z","repository":{"id":257855951,"uuid":"860018144","full_name":"auth0-lab/market0","owner":"auth0-lab","description":"sample app about authz and AI","archived":false,"fork":false,"pushed_at":"2024-11-19T12:45:04.000Z","size":1224,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-19T13:45:52.972Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-09-19T17:12:29.000Z","updated_at":"2024-11-19T12:45:07.000Z","dependencies_parsed_at":"2024-11-04T17:18:57.429Z","dependency_job_id":"789c035a-650f-4f5f-8357-b8016dc30cf9","html_url":"https://github.com/auth0-lab/market0","commit_stats":null,"previous_names":["auth0-lab/market0"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fmarket0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fmarket0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fmarket0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fmarket0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0-lab","download_url":"https://codeload.github.com/auth0-lab/market0/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227476117,"owners_count":17779417,"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-01T03:10:03.736Z","updated_at":"2025-07-24T20:32:20.945Z","avatar_url":"https://github.com/auth0-lab.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Market0\n\nThis is a demo of an interactive financial assistant. It can show you stocks, tell you their prices, and even help you buy shares.\n\n## Getting Started\n\n### Prerequisites\n\n- An Auth0 Lab account, you can create one [here](https://manage.auth0lab.com/).\n- An Okta FGA account, you can create one [here](https://dashboard.fga.dev).\n- An OpenAI account and API key create one [here](https://platform.openai.com).\n- Docker to run the postgresql container.\n\n### FGA Configuration\n\nTo setup Okta FGA for the sample, create a client with the following permissions:\n\n- `Read/Write model, changes, and assertions`\n- `Write and delete tuples`\n- `Read and query`\n\n### Auth0 Configuration\n\nTo setup your Auth0 Lab tenant for the sample, create two applications:\n\n- **Regular Web Application**\n\n  - **Allowed Callback URLs:** `http://localhost:3000/api/auth/callback`\n  - **Allowed Logout URLs:** `http://localhost:3000`\n\n- **Machine to Machine**\n  - **API:** `Auth0 Management API`\n  - **Permissions:** `read:users update:users delete:users read:authentication_methods`\n\nConfigure [Google](https://marketplace.auth0.com/integrations/google-social-connection) as social connections.\n\nAnd enable MFA with [push notifications using Auth0 Guardian](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian#enroll-in-push-notifications).\n\n### Setup\n\n1. Clone this repository to your local machine.\n2. Install the dependencies by running `npm install` in your terminal.\n3. Set up the environment variables making a copy of the [.env-example](./.env-example) file.\n4. Start the database with `npm run db:up`\n5. Configure your FGA store with `npm run fga:migrate:create`\n\n### Running the Project\n\nTo start the development server, run `npm run dev` in your terminal. Open [http://localhost:3000](http://localhost:3000) to view the chatbot in your browser.\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-lab%2Fmarket0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0-lab%2Fmarket0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-lab%2Fmarket0/lists"}