{"id":25052516,"url":"https://github.com/devconn99/nucleus","last_synced_at":"2026-05-04T09:33:43.140Z","repository":{"id":115684290,"uuid":"229030740","full_name":"devconn99/Nucleus","owner":"devconn99","description":"Vue startup application template that uses ASP.NET Core API layered architecture at the back-end and JWT based authentication","archived":false,"fork":false,"pushed_at":"2022-10-29T18:01:49.000Z","size":1441,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T12:38:58.118Z","etag":null,"topics":["asp-net-core","bootstrap","bootstrap-vue","entity-framework-core","jwt-auth","swagger","typescript","vue","vuejs","vuetify"],"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/devconn99.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}},"created_at":"2019-12-19T10:27:35.000Z","updated_at":"2022-10-29T17:59:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"d82c44a7-ad05-4cf5-900f-3dfd4822387f","html_url":"https://github.com/devconn99/Nucleus","commit_stats":null,"previous_names":["devonconn99/nucleus","devconn99/nucleus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devconn99/Nucleus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devconn99%2FNucleus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devconn99%2FNucleus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devconn99%2FNucleus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devconn99%2FNucleus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devconn99","download_url":"https://codeload.github.com/devconn99/Nucleus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devconn99%2FNucleus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["asp-net-core","bootstrap","bootstrap-vue","entity-framework-core","jwt-auth","swagger","typescript","vue","vuejs","vuetify"],"created_at":"2025-02-06T10:30:41.610Z","updated_at":"2026-05-04T09:33:43.122Z","avatar_url":"https://github.com/devconn99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"left\" src=\"_images/Nucleus.png\" alt=\"Nucleus\" class=\"img-thumbnail\" width=\"144\" /\u003e\n\n# Nucleus\n\nWeb API startup template with a Vue Client application.\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## Requirements\n\n- Vue CLI v3.x or later.\n- Nodejs v10.x or later.\n- Visual Studio 2019 v16.3 or later **for Windows**.\n- Visual Studio 2019 for Mac v8.3 or later **for macOS**.\n\n## How to Start?\n\n### Local Environment\n\n- Select `Nucleus.Web.Api` project \"**Set as Startup Project**\"\n- Open \"**Package Manager Console**\" and select default project as `src/Nucleus.EntityFramework`\n- Run `update-database` command to create database.\n- Run(F5 or CTRL+F5) Web API project first \n- Run `yarn` command at location `src/Nucleus.Web.Vue` to install npm packages.\n- Run `yarn serve` command to run Vue application.\n- Admin user name and password : `admin/123qwe`\n\n### Run with Docker\n\n- Run `docker-compose build` command.\n- Run `docker-compose up -d` command to run application.\n- Go to `http://localhost:36221`\n\n#### To change the environment\n\n- Run `docker-compose -f docker-compose-production.yml build` command.\n- Run `docker-compose -f docker-compose-production.yml up -d` command\n- Go to `http://localhost:36211`\n\n## Vue Application Screenshots\n\n### Login Page\n\n\u003cimg src=\"_images/_login.png\" alt=\"Vue Client Demo\" class=\"img-thumbnail\" /\u003e\n\n### Register Page\n\n\u003cimg src=\"_images/_register.png\" alt=\"Vue Client Demo\" class=\"img-thumbnail\" /\u003e\n\n### Forgot Password Page\n\n\u003cimg src=\"_images/_forgotPassword.png\" alt=\"Vue Client Demo\" class=\"img-thumbnail\" /\u003e\n\n### List Pages\n\n\u003cimg src=\"_images/_users.png\" alt=\"Vue Client Demo\" class=\"img-thumbnail\" /\u003e\n\n### Create/Edit Pages\n\n\u003cimg src=\"_images/_addUser.png\" alt=\"Vue Client Demo\" class=\"img-thumbnail\" /\u003e\n\n## ASP.NET Core Web API\n\n### Project solution:\n\n\u003cimg src=\"_images/project-solution.png\" alt=\"Project Solution\" class=\"img-thumbnail\" /\u003e\n\n### Swagger UI\n\n\u003cimg src=\"_images/swagger-ui.png\" alt=\"Swagger UI\" class=\"img-thumbnail\" /\u003e\n\n# Document\n\n## Swagger UI Authorize\n\nYou can login on swagger ui by using a bearer token. So you can make requests to authorized end-points. Check the following steps.\n\n- In swagger ui, execute `api/login` to get a bearer token.\n- Copy bearer token that is in `api/login` response.\n- Click `Authorize` button in swagger ui page.\n- Enter the token like `Bearer \u003ctoken\u003e` and click `Authorize`.\n- Now you can make requests to authorized end-points.\n\n## Adding New Language\n\n- Add json file to store language keys and values to `Nucleus\\src\\Nucleus.Web.Vue\\src\\assets\\localizations\\your_language.json`\n- Copy `en.json` content and translate the values to target language.\n- Add country flag to `Nucleus.Web.Vue\\src\\assets\\images\\icons\\flags\\your_country.png`. Get images from http://www.iconarchive.com/show/flag-icons-by-gosquared.html\n- Add language to language selection menu in `Nucleus\\src\\Nucleus.Web.Vue\\src\\account\\account-layout.vue` and `Nucleus\\src\\Nucleus.Web.Vue\\src\\admin\\components\\menu\\top-menu\\top-menu.vue` like following\n\n**account-layout.vue**\n\n````html\n\u003cv-menu\u003e\n    \u003ctemplate v-slot:activator=\"{ on }\"\u003e\n        \u003cv-btn color=\"primary\" dark outlined rounded v-on=\"on\"\u003e\n            \u003cimg :src=\"require('@/assets/images/icons/flags/' + selectedLanguage.languageCode + '.png')\" class=\"mr-2 ml-1\" /\u003e\n            {{selectedLanguage.languageName}}\n        \u003cv-icon dark class=\"ml-3\"\u003emdi-menu-down\u003c/v-icon\u003e\n        \u003c/v-btn\u003e\n    \u003c/template\u003e\n\n    \u003cv-list\u003e\n        \u003cv-list-item @click=\"changeLanguage('en', 'English')\"\u003e\n            \u003cimg src=\"@/assets/images/icons/flags/en.png\" class=\"mr-2\" /\u003e\n            \u003cv-list-item-title\u003eEnglish\u003c/v-list-item-title\u003e\n        \u003c/v-list-item\u003e\n        \u003cv-list-item @click=\"changeLanguage('tr', 'Türkçe')\"\u003e\n            \u003cimg src=\"@/assets/images/icons/flags/tr.png\" class=\"mr-2\" /\u003e\n            \u003cv-list-item-title\u003eTürkçe\u003c/v-list-item-title\u003e\n        \u003c/v-list-item\u003e\n    \u003c/v-list\u003e\n\u003c/v-menu\u003e\n````\n\n**top-menu.vue**\n\n````html\n\u003cv-menu\u003e\n    \u003ctemplate v-slot:activator=\"{ on }\"\u003e\n        \u003cv-btn color=\"primary\" v-on=\"on\"\u003e\n            \u003cimg :src=\"require('@/assets/images/icons/flags/' + selectedLanguage.languageCode + '.png')\" class=\"mr-2 ml-1\" /\u003e\n            {{selectedLanguage.languageName}}\n            \u003cv-icon dark class=\"ml-3\"\u003emdi-menu-down\u003c/v-icon\u003e\n        \u003c/v-btn\u003e\n    \u003c/template\u003e\n\n    \u003cv-list\u003e\n        \u003cv-list-item @click=\"changeLanguage('en', 'English')\"\u003e\n            \u003cimg src=\"@/assets/images/icons/flags/en.png\" class=\"mr-2\" /\u003e\n            \u003cv-list-item-title\u003eEnglish\u003c/v-list-item-title\u003e\n        \u003c/v-list-item\u003e\n        \u003cv-list-item @click=\"changeLanguage('tr', 'Türkçe')\"\u003e\n            \u003cimg src=\"@/assets/images/icons/flags/tr.png\" class=\"mr-2\" /\u003e\n            \u003cv-list-item-title\u003eTürkçe\u003c/v-list-item-title\u003e\n        \u003c/v-list-item\u003e\n    \u003c/v-list\u003e\n\u003c/v-menu\u003e\n````\n\n## Adding New Permission\n\n- All definitions are made in `DefaultPermissions`.\n- First add permission name as const like `public const string PermissionNameABC = \"Permissions_ABC\";`.\n- Add a permission entity that type `Permission.cs` class and give a hard-coded guid id.\n- Last, add this permission variable to `DefaultPermissions.All()` method.\n\n###\n\n### Tags \u0026 Technologies\n\n- [ASP.NET Core Web API](https://docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-2.1)\n- [Entity Framework Core](https://docs.microsoft.com/en-us/ef/core/)\n- [ASP.NET Core Identity](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.identity?view=aspnetcore-2.1)\n- [JWT (Bearer Token) Based Authentication](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.JwtBearer/)\n- [Automapper](https://automapper.org/)\n- [Serilog](https://serilog.net/)\n- [Swagger](https://swagger.io/)\n- [ASP.NET Core Test Host](https://www.nuget.org/packages/Microsoft.AspNetCore.TestHost)\n- [Authorization \u0026 Authentication](https://docs.microsoft.com/en-us/aspnet/core/security/?view=aspnetcore-2.1)\n- [Exception Handling \u0026 Logging](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-2.1)\n- [Vue.js](https://vuejs.org/)\n- [Vue Router](https://router.vuejs.org/)\n- [Vuetify](https://vuetifyjs.com/en/)\n- [Vue i18n](https://kazupon.github.io/vue-i18n/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevconn99%2Fnucleus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevconn99%2Fnucleus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevconn99%2Fnucleus/lists"}