{"id":28386596,"url":"https://github.com/msaeedsaeedi/FullStack-Template","last_synced_at":"2025-06-26T15:31:35.479Z","repository":{"id":293892533,"uuid":"985431185","full_name":"msaeedsaeedi/FullStack-Template","owner":"msaeedsaeedi","description":"A Turborepo monorepo template for a full-stack application featuring a NestJS backend and an Angular frontend with SSR. Includes Docker support, PNPM, TypeScript, ESLint, Prettier, and Jest/Karma for testing, optimized for development and production.","archived":false,"fork":false,"pushed_at":"2025-06-16T13:40:56.000Z","size":1100,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T10:38:05.065Z","etag":null,"topics":["angular","monorepo","nestjs","turborepo"],"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/msaeedsaeedi.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}},"created_at":"2025-05-17T18:44:09.000Z","updated_at":"2025-05-21T05:09:11.000Z","dependencies_parsed_at":"2025-06-22T10:42:49.701Z","dependency_job_id":null,"html_url":"https://github.com/msaeedsaeedi/FullStack-Template","commit_stats":null,"previous_names":["msaeedsaeedi/turborepo-template","msaeedsaeedi/fullstack-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/msaeedsaeedi/FullStack-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaeedsaeedi%2FFullStack-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaeedsaeedi%2FFullStack-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaeedsaeedi%2FFullStack-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaeedsaeedi%2FFullStack-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msaeedsaeedi","download_url":"https://codeload.github.com/msaeedsaeedi/FullStack-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaeedsaeedi%2FFullStack-Template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094391,"owners_count":23257953,"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","monorepo","nestjs","turborepo"],"created_at":"2025-05-30T15:13:29.205Z","updated_at":"2025-06-26T15:31:35.468Z","avatar_url":"https://github.com/msaeedsaeedi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turborepo Template\n\nThis is a monorepo template using [Turborepo](https://turborepo.com/) to manage a full-stack application with a [NestJS](https://nestjs.com/) backend and an [Angular](https://angular.dev/) frontend. It is designed to streamline development, building, and deployment processes with modern tooling and best practices.\n\n## Features\n- **Monorepo Structure**: Managed with Turborepo for efficient task orchestration across multiple apps.\n- **Backend**: NestJS application with TypeScript, ESLint, Prettier, and Jest for testing.\n- **Frontend**: Angular application with server-side rendering (SSR), TypeScript, ESLint, and Karma for testing.\n- **Docker Support**: Dockerized services for both frontend and backend with a `docker-compose.yml` for easy setup.\n- **Code Quality**: Prettier for code formatting and ESLint for linting across both apps.\n- **Dependency Management**: Uses PNPM for fast and efficient package management.\n- **CI/CD**: Configured with Dependabot for automated dependency updates.\n\n## Directory Structure\n```\nmsaeedsaeedi-turborepo-template/\n├── apps/\n│   ├── backend/               # NestJS backend application\n│   └── frontend/              # Angular frontend application\n├── .github/\n│   └── dependabot.yml         # Dependabot configuration for dependency updates\n├── docker-compose.yml         # Docker Compose configuration for running services\n├── package.json               # Root package.json with monorepo scripts\n├── pnpm-workspace.yaml        # PNPM workspace configuration\n├── turbo.json                 # Turborepo configuration\n├── .dockerignore              # Docker ignore file\n├── .prettierignore            # Prettier ignore file\n├── .prettierrc                # Prettier configuration\n```\n\n## Prerequisites\n- [Node.js](https://nodejs.org/) (v22 or higher)\n- [PNPM](https://pnpm.io/) (v9.15.1 or higher)\n- [Docker](https://www.docker.com/) (optional, for containerized deployment)\n\n## Getting Started\n\n### Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/msaeedsaeedi/turborepo-template.git\n   cd turborepo-template\n   ```\n\n2. Install dependencies using PNPM:\n   ```bash\n   pnpm install\n   ```\n\n### Development\nRun both the frontend and backend in development mode:\n```bash\npnpm dev\n```\n\n- **Frontend**: Runs on `http://localhost:4200`\n- **Backend**: Runs on `http://localhost:3000`\n\n### Building\nBuild both apps for production:\n```bash\npnpm build\n```\n\n### Docker\nBuild and start the services using Docker Compose:\n```bash\npnpm docker:build\npnpm docker:start\n```\n\nStop the services:\n```bash\npnpm docker:stop\n```\n\nClean up Docker resources:\n```bash\npnpm docker:prune\n```\n\n### Linting and Formatting\nRun linting across all apps:\n```bash\npnpm lint\n```\n\nFormat code using Prettier:\n```bash\npnpm format\n```\n\n### Testing\nRun tests for the backend:\n```bash\ncd apps/backend\npnpm test          # Unit tests\npnpm test:e2e      # End-to-end tests\npnpm test:cov      # Test coverage\n```\n\nRun tests for the frontend:\n```bash\ncd apps/frontend\npnpm test          # Unit tests\n```\n\n### Cleaning\nClean build artifacts and node_modules:\n```bash\npnpm clean\n```\n\n## Deployment\n- **Backend**: Follow the [NestJS deployment documentation](https://docs.nestjs.com/deployment) or use [NestJS Mau](https://mau.nestjs.com) for AWS deployment.\n- **Frontend**: Built artifacts are optimized for production and served via Nginx. Use the provided `nginx.conf` for routing configuration.\n\n## Contributing\nContributions are welcome! Please follow these steps:\n1. Fork the repository.\n2. Create a feature branch (`git checkout -b feature/your-feature`).\n3. Commit your changes (`git commit -m 'Add your feature'`).\n4. Push to the branch (`git push origin feature/your-feature`).\n5. Open a pull request.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Support\n- For NestJS-related questions, visit the [NestJS Discord](https://discord.gg/G7Qnnhy) or [documentation](https://docs.nestjs.com).\n- For Angular-related questions, check the [Angular CLI documentation](https://angular.dev/tools/cli) or [Angular DevTools](https://angular.dev/tools/devtools).\n- For general issues, open a ticket on the [GitHub repository](https://github.com/msaeedsaeedi/turborepo-template).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsaeedsaeedi%2FFullStack-Template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsaeedsaeedi%2FFullStack-Template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsaeedsaeedi%2FFullStack-Template/lists"}