feat: Add Nanaxe server with Docker, GitHub Actions CI/CD, and auto-deployment
- Add complete server infrastructure with Gitea, API, PostgreSQL - Implement Obsidian-compatible markdown mindmap converter - Add Flutter service for server synchronization - Configure GitHub Actions for automated build and deploy - Add production docker-compose with health checks - Include VPS setup and deployment scripts - Add comprehensive deployment documentation
This commit is contained in:
@@ -6,13 +6,17 @@ import '../screens/home_screen.dart';
|
||||
import '../screens/tasks_screen.dart';
|
||||
import '../screens/task_form_screen.dart';
|
||||
import '../screens/mind_map_screen.dart';
|
||||
import '../screens/mind_map_settings_screen.dart';
|
||||
import '../screens/calendar_screen.dart';
|
||||
import '../screens/alarms_screen.dart';
|
||||
import '../screens/ai_test_screen.dart';
|
||||
import '../screens/profile_screen.dart';
|
||||
import '../screens/admin/admin_screen.dart';
|
||||
import '../screens/admin/team_management_screen.dart';
|
||||
import '../screens/admin/projects_management_screen.dart';
|
||||
import '../screens/admin/notifications_settings_screen.dart';
|
||||
import '../screens/admin/mind_map_admin_screen.dart';
|
||||
import '../screens/admin/ai_stats_screen.dart';
|
||||
import '../providers/auth_provider.dart';
|
||||
|
||||
// Глобальный ключ для навигации
|
||||
@@ -67,6 +71,17 @@ class AppRouter {
|
||||
path: 'mindmap',
|
||||
name: 'mindmap',
|
||||
builder: (context, state) => const MindMapScreen(),
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: 'settings',
|
||||
name: 'mindmap-settings',
|
||||
builder: (context, state) {
|
||||
final projectId =
|
||||
state.uri.queryParameters['projectId'] ?? 'default';
|
||||
return MindMapSettingsScreen(projectId: projectId);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
GoRoute(
|
||||
path: 'calendar',
|
||||
@@ -78,6 +93,11 @@ class AppRouter {
|
||||
name: 'alarms',
|
||||
builder: (context, state) => const AlarmsScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'profile',
|
||||
name: 'profile',
|
||||
builder: (context, state) => const ProfileScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'ai-test',
|
||||
name: 'ai-test',
|
||||
@@ -104,6 +124,16 @@ class AppRouter {
|
||||
builder: (context, state) =>
|
||||
const NotificationsSettingsScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'mindmaps',
|
||||
name: 'admin-mindmaps',
|
||||
builder: (context, state) => const MindMapAdminScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: 'ai-stats',
|
||||
name: 'admin-ai-stats',
|
||||
builder: (context, state) => const AIStatsScreen(),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user