{"id":25121334,"url":"https://github.com/morven11/full-stack-template","last_synced_at":"2025-08-08T04:13:20.444Z","repository":{"id":275159485,"uuid":"925263878","full_name":"MorveN11/full-stack-template","owner":"MorveN11","description":"A production-ready full-stack template featuring a Clean Architecture backend with CQRS, RBAC, and JWT Authentication, paired with a modern Next.js frontend. Built for scalability, security, and maintainability, this template provides a seamless development experience with Docker support for containerization.","archived":false,"fork":false,"pushed_at":"2025-02-25T17:30:43.000Z","size":275,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T07:04:58.077Z","etag":null,"topics":["cache","clean-architecture","csharp","docker","dotnet","editorconfig","eslint","github-actions","husky","jwt-authentication","nextjs","papercut","pnpm","pnpm-workspaces","postgresql","prettier","rbac","redis","seq","typescript"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorveN11.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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,"zenodo":null}},"created_at":"2025-01-31T14:48:56.000Z","updated_at":"2025-04-03T01:23:50.000Z","dependencies_parsed_at":"2025-01-31T15:37:24.995Z","dependency_job_id":"c6f0cbf8-5272-4fe2-97ab-f2c31eb94480","html_url":"https://github.com/MorveN11/full-stack-template","commit_stats":null,"previous_names":["morven11/full-stack-template"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/MorveN11/full-stack-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorveN11%2Ffull-stack-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorveN11%2Ffull-stack-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorveN11%2Ffull-stack-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorveN11%2Ffull-stack-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorveN11","download_url":"https://codeload.github.com/MorveN11/full-stack-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorveN11%2Ffull-stack-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269361852,"owners_count":24404432,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"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":["cache","clean-architecture","csharp","docker","dotnet","editorconfig","eslint","github-actions","husky","jwt-authentication","nextjs","papercut","pnpm","pnpm-workspaces","postgresql","prettier","rbac","redis","seq","typescript"],"created_at":"2025-02-08T06:17:50.775Z","updated_at":"2025-08-08T04:13:20.415Z","avatar_url":"https://github.com/MorveN11.png","language":"C#","readme":"# Manuel - Morales | Clean Architecture Full Stack Template\n\n## Tools and Technologies Needed\n\n- [Dotnet 9.0 SDK](https://dotnet.microsoft.com/download)\n- [node.js](https://nodejs.org/en/)\n- [pnpm](https://pnpm.io/)\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Package JSON\n\n```json\n{\n  \"name\": \"template\",\n  \"version\": \"1.2.0\",\n  \"private\": false,\n  \"description\": \"A Fullstack Template for .NET 9 and Next.js\",\n  \"scripts\": {\n    \"dev\": \"pnpm --parallel dev\",\n    \"compose\": \"docker compose up --build -d\",\n    \"stage\": \"docker compose -f 'compose-stage.yaml' up --build -d\",\n    \"restore\": \"pnpm -F=backend restore\",\n    \"build\": \"pnpm --parallel build\",\n    \"publish\": \"pnpm run -F=backend publish\",\n    \"migrate:add\": \"pnpm -F=backend migrate:add\",\n    \"ef:install\": \"pnpm -F=backend ef:install\",\n    \"ef:bundle\": \"pnpm -F=backend ef:bundle\",\n    \"lint\": \"pnpm -F=frontend lint\",\n    \"format\": \"pnpm -F=frontend format\",\n    \"prepare\": \"husky\"\n  },\n  \"devDependencies\": {\n    \"@commitlint/cli\": \"^19.5.0\",\n    \"@semantic-release/changelog\": \"^6.0.3\",\n    \"@semantic-release/commit-analyzer\": \"^12.0.0\",\n    \"@semantic-release/git\": \"^10.0.1\",\n    \"@semantic-release/github\": \"^10.0.5\",\n    \"@semantic-release/npm\": \"^12.0.1\",\n    \"@semantic-release/release-notes-generator\": \"^13.0.0\",\n    \"commitizen\": \"^4.3.1\",\n    \"cz-conventional-changelog\": \"^3.3.0\",\n    \"husky\": \"^9.1.6\",\n    \"semantic-release\": \"^23.1.1\"\n  },\n  \"config\": {\n    \"commitizen\": {\n      \"path\": \"./node_modules/cz-conventional-changelog\"\n    }\n  }\n}\n```\n\nUpdate the version of the API in the `package.json` file to 0.1.0. to reset the\nversion of the API. Update the description of the API in the `package.json` with\nyour own description. Update any other fields in the `package.json` file as\nneeded.\n\nRemove `CHANGELOG.md` file to reset the changelog record.\n\nRemove `LICENSE` file to reset the license, use your own license.\n\n## Set Production Migrations\n\nFor production, you can use the `ef:bundle` command to bundle the migrations\ninto a single migration. This will allow you to deploy the application with a\nsingle migration file. To execute the command, run the following:\n\n```sh\npnpm ef:bundle\n```\n\nTo execute this in a CI/CD pipeline, only uncomment this:\n\n```yaml\n# TODO: If you are going to Deploy your API, you can run the migrations here for your production database\n# Only you need to add the connection string to your secrets\n# - name: Run EF Migrations\n#   run: ./efbundle --connection \"${{ secrets.DB_CONNECTION_STRING }}\"\n```\n\nIn the `.github/workflows/release.yml` file, uncomment the section that runs the\nmigrations and set you DB_CONNECTION_STRING in your GitHub Secrets.\n\n## Scripts\n\n- **dev**: Starts frontend and backend in Development Configuration.\n\n  ```sh\n  pnpm dev\n  ```\n\n- **compose**: Starts only necessary containers for development like, papercut, redis, postgresql\n\n  ```sh\n  pnpm compose\n  ```\n\n- **stage**: Starts the backend and the frontend application with all the necessary containers to test the hole application like in production\n\n  ```sh\n  pnpm stage\n  ```\n\n- **restore**: Restores the .NET project dependencies.\n\n  ```sh\n  pnpm restore\n  ```\n\n- **build**: Builds the .NET and Next.js project.\n\n  ```sh\n  pnpm build\n  ```\n\n- **publish**: Publishes the .NET project.\n\n  ```sh\n  pnpm publish\n  ```\n\n- **migrate:add**: Adds a new migration to the .NET project.\n\n  ```sh\n  pnpm migrate:add \u003cMigrationName\u003e\n  ```\n\n- **ef:install**: Installs the Entity Framework tools.\n\n  ```sh\n  pnpm ef:install\n  ```\n\n- **ef:bundle**: Bundles the Entity Framework tools.\n\n  ```sh\n  pnpm ef:bundle\n  ```\n\n- **lint**: Lints the frontend project.\n\n  ```sh\n  pnpm lint\n  ```\n\n- **format**: Formats the frontend project.\n\n  ```sh\n  pnpm format\n  ```\n\n- **prepare**: Sets up Husky for managing Git hooks.\n\n  ```sh\n  pnpm prepare\n  ```\n\n## Ports\n\n### Development\n\n- **Frontend**: 3000\n- **API**: 5001\n  - **Swagger**: /swagger/index.html\n- **Postgres**: 5432\n- **Redis**: 6379\n- **Papercut**: 8080\n\n### Staging\n\n- **Frontend**: 80\n- **API**: 5001\n  - **Swagger**: /swagger/index.html\n- **Postgres**: 5432\n- **Redis**: 6379\n- **Papercut**: 8080\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorven11%2Ffull-stack-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorven11%2Ffull-stack-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorven11%2Ffull-stack-template/lists"}