Initial commit: Nexus Mission Control Platform

- ASP.NET Core 10 Backend (JWT Auth, Agent config API)
- Vue 3 Frontend (Dashboard, Team, Agents, Config Editor)
- PostgreSQL Database
- Docker Compose setup
- Mission Control Dashboard redesign
This commit is contained in:
Bao
2026-06-09 16:31:42 +02:00
commit eeb6174de0
248 changed files with 19706 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { useAuthStore } from './stores/auth'
import './style.css'
const pinia = createPinia()
router.beforeEach(async to => {
const auth = useAuthStore(pinia)
await auth.initialize()
if (to.meta.public) {
return to.name === 'Login' && auth.isAuthenticated ? '/dashboard' : true
}
if (!auth.isAuthenticated) {
return { name: 'Login', query: { redirect: to.fullPath } }
}
return true
})
createApp(App)
.use(pinia)
.use(router)
.mount('#app')