{"id":23739656,"url":"https://github.com/chaotic-cx/chaotic-next","last_synced_at":"2025-09-04T15:31:33.064Z","repository":{"id":242399789,"uuid":"809444962","full_name":"chaotic-cx/chaotic-next","owner":"chaotic-cx","description":"Website and backend-related projects of Chaotic-AUR 🚀","archived":false,"fork":false,"pushed_at":"2024-12-30T21:43:46.000Z","size":3373,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T22:29:25.670Z","etag":null,"topics":["angular","chaotic-aur","nestjs","nx","typescript"],"latest_commit_sha":null,"homepage":"https://aur.chaotic.cx","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaotic-cx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-02T17:51:35.000Z","updated_at":"2024-12-30T21:43:49.000Z","dependencies_parsed_at":"2024-06-13T00:18:19.481Z","dependency_job_id":"a5a6b1fb-fa34-4e79-9139-ab8f2d711fc9","html_url":"https://github.com/chaotic-cx/chaotic-next","commit_stats":null,"previous_names":["chaotic-cx/caur-frontend","chaotic-cx/chaotic-next"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaotic-cx%2Fchaotic-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaotic-cx%2Fchaotic-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaotic-cx%2Fchaotic-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaotic-cx%2Fchaotic-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaotic-cx","download_url":"https://codeload.github.com/chaotic-cx/chaotic-next/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231970931,"owners_count":18453925,"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":["angular","chaotic-aur","nestjs","nx","typescript"],"created_at":"2024-12-31T09:37:05.184Z","updated_at":"2025-09-04T15:31:33.049Z","avatar_url":"https://github.com/chaotic-cx.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Chaotic-AUR Next\n\nMonorepo for all Java-/Typescript projects of Chaotic-AUR. Includes:\n\n- Part of repository management (.so lib bumps, up-to-date in-depth package data, etc..)\n- Router stats\n- Package, Router, Metrics API\n- Chaotic-AURs website\n- Smaller helper functions / API\n\n## Building\n\nTo build the project, run the following command:\n\n```bash\npnpm build\n```\n\nTo run it locally for development purposes, run the following command:\n\n```bash\npnpm start:home\npnpm start:be-nx\n```\n\n## Running a local CORS-enabled API proxy\n\nTo run a local CORS-enabled API proxy, change the following constants in the `types.ts` file of the shared libs to the\nfollowing values:\n\n```typescript\nexport const CAUR_BACKEND_URL = 'http://localhost:8010/proxy/backend';\nexport const CAUR_API_URL = 'http://localhost:8010/proxy/api';\n```\n\nand run the following command afterward:\n\n```bash\npnpm proxy:api\npnpm proxy:be\n```\n\nThis will allow using the production API without CORS issues.\n\n## Tech Stack\n\n- Angular (PrimeNG, GarudaNG)\n- NestJs (Fastify, Passport, TypeORM, Swagger)\n- Nx (Monorepo management)\n- Postgresql\n- Redis\n- TailwindCSS\n- TypeORM\n- Typescript\n\n## Backend\n\n### Required environment variables\n\n- AUTH0_AUDIENCE: Auth0 audience to target\n- AUTH0_CLIENT_ID: Auth0 client id\n- AUTH0_CLIENT_SECRET: Auth0 client secret\n- AUTH0_DOMAIN: Auth0 domain\n- CAUR_JWT_SECRET: JWT secret for the backend\n- CAUR_TRUST_PROXY: IP address of the proxy, if any\n- CAUR_USERS: JSON object with user ids and roles\n- NODE_ENV: \"production\" / any other for dev (will enable TypeORM sync mode)\n- PG_DATABASE: Postgres database to use\n- PG_HOST: Host name of the Postgres database\n- PG_PASSWORD: Postgres password\n- PG_USER: Postgres user\n- REDIS_PASSWORD: Redis password to connect with the Chaotic Manager (Moleculer microservice)\n- REDIS_SSH_HOST: Host of the Redis server, used for SSH port forwarding the Redis instance\n- REDIS_SSH_USER: User to use for SSH port forwarding the Redis instance\n\n## Database structure (as of November 2024)\n\n![ERD](./assets/ERD.svg)\n\n## Integrate with editors\n\nEnhance your Nx experience by installing [Nx Console](https://nx.dev/nx-console) for your favorite editor. Nx Console\nprovides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and\ncomes with a LSP for Vim users.\n\n## Nx plugins and code generators\n\nAdd Nx plugins to leverage their code generators and automated, inferred tasks.\n\n```\n# Add plugin\npnpm exec nx add @nx/react\n\n# Use code generator\npnpm exec nx generate @nx/react:app demo\n\n# Run development server\npnpm exec nx serve demo\n\n# View project details\npnpm exec nx show project demo --web\n```\n\nRun `pnpm exec nx list` to get a list of available plugins and whether they have generators. Then run\n`pnpm exec nx list \u003cplugin-name\u003e` to see what generators are available.\n\nLearn more about [code generators](https://nx.dev/features/generate-code) and\n[inferred tasks](https://nx.dev/concepts/inferred-tasks) in the docs.\n\n## Running tasks\n\nTo execute tasks with Nx use the following syntax:\n\n```\npnpm exec nx \u003ctarget\u003e \u003cproject\u003e \u003c...options\u003e\n```\n\nYou can also run multiple targets:\n\n```\npnpm exec nx run-many -t \u003ctarget1\u003e \u003ctarget2\u003e\n```\n\n..or add `-p` to filter specific projects\n\n```\npnpm exec nx run-many -t \u003ctarget1\u003e \u003ctarget2\u003e -p \u003cproj1\u003e \u003cproj2\u003e\n```\n\nTargets can be defined in the `package.json` or `projects.json`. Learn more\n[in the docs](https://nx.dev/features/run-tasks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaotic-cx%2Fchaotic-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaotic-cx%2Fchaotic-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaotic-cx%2Fchaotic-next/lists"}