{"id":16203136,"url":"https://github.com/quickz/svelte-dotnet-template","last_synced_at":"2025-03-19T07:30:37.202Z","repository":{"id":177411464,"uuid":"614122815","full_name":"Quickz/svelte-dotnet-template","owner":"Quickz","description":"A simple project template for working with Svelte and ASP.NET. The template consists of 2 projects - a Svelte project (Client) that utilizes SvelteKit for the routing and an ASP.NET API (Server).","archived":false,"fork":false,"pushed_at":"2025-02-16T21:36:33.000Z","size":390,"stargazers_count":21,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T04:37:04.350Z","etag":null,"topics":["aspnetcore","csharp","dotnet-core","dotnet-template","svelte","svelte-dotnet-template","svelte-template","sveltejs","sveltekit","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Quickz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-03-15T00:00:28.000Z","updated_at":"2025-03-16T19:38:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e34425e0-2614-4e76-bff3-42901137bf82","html_url":"https://github.com/Quickz/svelte-dotnet-template","commit_stats":null,"previous_names":["quickz/svelte-dotnet-template"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quickz%2Fsvelte-dotnet-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quickz%2Fsvelte-dotnet-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quickz%2Fsvelte-dotnet-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quickz%2Fsvelte-dotnet-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quickz","download_url":"https://codeload.github.com/Quickz/svelte-dotnet-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244379003,"owners_count":20443379,"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":["aspnetcore","csharp","dotnet-core","dotnet-template","svelte","svelte-dotnet-template","svelte-template","sveltejs","sveltekit","typescript"],"created_at":"2024-10-10T09:52:01.348Z","updated_at":"2025-03-19T07:30:37.192Z","avatar_url":"https://github.com/Quickz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte .NET Template\n\n![image](https://github.com/user-attachments/assets/e3030a5d-33f0-49db-ab09-b5ba9934ada0)\n\nA simple project template for working with Svelte and ASP.NET.\nThe template consists of 2 projects - a Svelte project (Client) that utilizes SvelteKit for the routing and an ASP.NET API (Server).\n\nThe project is using **Svelte 5** and **.NET 8**.\n\u003cbr\u003e\n\n# Installing the template\n\nUsing [NuGet](https://www.nuget.org/packages/Svelte.Dotnet.Template):\n```cmd\ndotnet new install Svelte.Dotnet.Template\n```\n\n# Client\n## Prerequisites\n\nThis project requires [NodeJS](http://nodejs.org/) (version 18 or later) and [NPM](https://npmjs.org/).\nTo make sure you have them available on your machine,\ntry running the following command:\n\n```sh\n$ npm -v \u0026\u0026 node -v\n9.5.0\nv18.14.1\n```\n\n## Installation\n\n```bash\nnpm install\n```\n\n## Serving the app\n\n```bash\nnpm run dev\n\n# or start the server and open the app in a new browser tab\nnpm run dev -- --open\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nnpm run build\n```\n\nYou can preview the production build with `npm run preview`.\n\n\u003e To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.\n\n## Generating code from Swagger API\nTo regenerate TypeScript code around interacting with the Web API:\n```bash\nnpm run generate-api-classes\n```\n\n\n\n\n\n\n\n\n\n# Recommendations\n\nThe template was created with the intention of using [VS Code](https://code.visualstudio.com/)\nfor the [Client](https://github.com/Quickz/svelte-dotnet-template/tree/main/svelte-dotnet-template/Client)\nand [Visual Studio](https://visualstudio.microsoft.com/) for the [Server](https://github.com/Quickz/svelte-dotnet-template/tree/main/svelte-dotnet-template/Server). You are free to use whatever tools you prefer though.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickz%2Fsvelte-dotnet-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquickz%2Fsvelte-dotnet-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickz%2Fsvelte-dotnet-template/lists"}