{"id":50801661,"url":"https://github.com/warrendodsworth/wiseguyinvestor-web","last_synced_at":"2026-06-12T20:34:16.134Z","repository":{"id":38768982,"uuid":"172996963","full_name":"warrendodsworth/wiseguyinvestor-web","owner":"warrendodsworth","description":"WiseGuy Investor Youtube Channel Website","archived":false,"fork":false,"pushed_at":"2026-04-11T23:58:00.000Z","size":9528,"stargazers_count":0,"open_issues_count":48,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-12T01:21:58.135Z","etag":null,"topics":["tailwindcss"],"latest_commit_sha":null,"homepage":"","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/warrendodsworth.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":"2019-02-27T21:59:25.000Z","updated_at":"2026-04-11T23:58:04.000Z","dependencies_parsed_at":"2025-06-11T07:22:34.298Z","dependency_job_id":"9f5000e7-fc35-4a1a-a6b7-761d73404591","html_url":"https://github.com/warrendodsworth/wiseguyinvestor-web","commit_stats":null,"previous_names":["warrendodsworth/wiseguy-investor-web","warrendodsworth/wiseguyinvestor-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/warrendodsworth/wiseguyinvestor-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrendodsworth%2Fwiseguyinvestor-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrendodsworth%2Fwiseguyinvestor-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrendodsworth%2Fwiseguyinvestor-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrendodsworth%2Fwiseguyinvestor-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warrendodsworth","download_url":"https://codeload.github.com/warrendodsworth/wiseguyinvestor-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrendodsworth%2Fwiseguyinvestor-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34262155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["tailwindcss"],"created_at":"2026-06-12T20:34:10.879Z","updated_at":"2026-06-12T20:34:16.107Z","avatar_url":"https://github.com/warrendodsworth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WiseGuy Investor - Market Insights\n\nWiseGuy Investor - Market Insights is a web application that provides users with valuable insights and analytics related to market trends, consumer behavior, and other relevant data.\n\n---\n\n## Tech Stack\n\n- **Angular** (CLI, Material, PWA)\n- **Tailwind CSS** (Styling)\n- **Firebase** (Emulators, Hosting)\n- **Jest** (Unit Testing)\n- **ESLint** (Linting)\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/)\n- [Angular CLI](https://angular.dev/tools/cli)\n- [Firebase CLI](https://firebase.google.com/docs/cli)\n- [Capacitor CLI](https://capacitorjs.com/docs/getting-started)\n- Other tools: `npm i -g node-firestore-import-export rimraf workbox-cli pwa-asset-generator kill-port`\n\n- Shortcut: Install global packages `npm i -g @angular/cli @capacitor/cli firebase-tools`\n- Shortcut: Install local packages `npm install-all`\n\n### Installation\n\n```bash\nnpm install\n```\n\n### Development\n\nStart the app and emulators:\n\n```bash\nnpm start\n```\n\nRun the app:\n\nOn VSCode, bring up `build task` menu by pressing `Cmd + Shift + B` and then launch `Start Web app (Windows/Mac)`.\n\nThis will launch the:\n\n- App: [http://localhost:8100](http://localhost:8100)\n- Firestore Emulator UI: [http://localhost:4000](http://localhost:4000)\n- Functions (Server code) compiler using nodemon to watch for changes\n\n### Build\n\n```bash\nng build\n```\n\n### Unit Tests\n\n```bash\nng test\n```\n\n---\n\n## Firebase Emulator Setup\n\n1. **Start Firestore Emulator:**\n   ```bash\n   firebase emulators:start --only firestore --export-on-exit=./emulators.backup\n   ```\n2. **Import Dev Database:**\n   ```bash\n   export FIRESTORE_EMULATOR_HOST=0.0.0.0:8080\n   firestore-import --accountCredentials service-key.json --backupFile dev-database.json\n   ```\n3. **Export Dev Database:**\n   To update the local dev db so other devs can get your latest db changes.\n\n   ```bash\n   export FIRESTORE_EMULATOR_HOST=0.0.0.0:8080\n   firestore-export --accountCredentials service-key.json --backupFile dev-database.json\n   ```\n\n4. **Test to Confirm:**\n\n- Close the emulator - Press `Ctrl + C` in the terminal\n- Open `./emulators.backup` to see data ready to be imported again when you start the emulators next\n\n---\n\n## Firebase Service Account\n\n- Create a firebase service account and download your service credential json file\n- Save it as `service-key.json` in the root folder\n\nExport Live data:\n\nTo a local file `output.json`. **Not required for day to day dev.**\n\n```bash\nfirestore-export --accountCredentials service-key.json --backupFile prod-database.json\n```\n\n---\n\n## Notes\n\n- **User Data:**  \n  `/users` (public/private), `/user_meta` (private emails), `/user_roles` (optional, claims preferred)\n  - not sure if `/user_roles` needed as we have claims, db roles don't override claims (only set in functions\n- **Firebase Stripe Extension:**  \n  Install `@firebase/*-compat` packages in `functions` if using Stripe extension.\n\n## Tailwind CSS Setup\n\n- Install Tailwind CSS and its dependencies:\n\nhttps://tailwindcss.com/docs/installation/framework-guides/angular\n\n## VSCode Recommendations\n\n- Use the recommended extensions (see `.vscode/extensions.json`)\n- For ESLint:  \n  Set `\"eslint.useFlatConfig\": true` in your settings.\n\n### ESLint Setup\n\n- https://eslint.org/docs/latest/use/getting-started\n- Run `ng add @angular-eslint/schematics`\n\n---\n\n## Jest Test Setup\n\n- Fast unit tests\n- jest https://jestjs.io/docs/getting-started\n- ts-jest transformer - https://kulshekhar.github.io/ts-jest\n\n---\n\n## Plugin notes\n\nFirebase Stripe extension -\nFor the integration to work I needed to install these packages into my functions project\n\n- @firebase/app-compat@0.2.3\n- @firebase/auth-compat@0.3.3\n- @firebase/firestore-compat@0.3.3\n\n- **Angular 17** (CLI, Material, PWA)\n- **Tailwind CSS** (Styling)\n- **Firebase** (Emulators, Hosting)\n- **Jest** (Unit Testing)\n- **ESLint** (Linting)\n\n```bash\nng generate component component-name\n```\n\nFor a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:\n\n```bash\nng generate --help\n```\n\n- [Node.js](https://nodejs.org/)\n- [Angular CLI](https://angular.dev/tools/cli)\n- [Firebase CLI](https://firebase.google.com/docs/cli)\n- [Capacitor CLI](https://capacitorjs.com/docs/getting-started)\n- Other tools: `npm i -g node-firestore-import-export rimraf workbox-cli pwa-asset-generator kill-port`\n\n- Shortcut: Install global packages `npm i -g @angular/cli @capacitor/cli firebase-tools`\n- Shortcut: Install local packages `npm install-all`\n  To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:\n\n```bash\nng test\n```\n\n### Installation\n\nFor end-to-end (e2e) testing, run:\n\n```bash\nng e2e\n```\n\nAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.\n\n## Additional Resources\n\nFor more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrendodsworth%2Fwiseguyinvestor-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarrendodsworth%2Fwiseguyinvestor-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrendodsworth%2Fwiseguyinvestor-web/lists"}