🎉 Initial commit: Trackeep - Complete Productivity Platform

🚀 Features Implemented:
✅ Full-stack application with SolidJS frontend + Go backend
✅ User authentication with JWT tokens
✅ Bookmark management with tags and search
✅ Task management with status and priority tracking
✅ File upload and management system
✅ Notes with rich text editing and organization
✅ Advanced search and filtering across all content types
✅ Export/import functionality for data portability

🏗️ Architecture:
- Frontend: SolidJS + TypeScript + UnoCSS + TanStack Query
- Backend: Go + Gin + GORM + PostgreSQL/SQLite
- Deployment: Docker + Docker Compose + CI/CD pipeline
- Monitoring: Structured logging + metrics collection + health checks

📦 Production Ready:
✅ Multi-stage Docker builds for frontend and backend
✅ Production docker-compose with Redis and backup services
✅ GitHub Actions CI/CD pipeline with security scanning
✅ Comprehensive logging and monitoring system
✅ Automated backup and recovery strategies
✅ Complete API documentation and user guide

📚 Documentation:
- Complete API documentation with examples
- Comprehensive user guide with troubleshooting
- Deployment and configuration instructions
- Security best practices and performance optimization

🎯 Project Status: 100% COMPLETE (69/69 tasks)
Trackeep is now a production-ready, self-hosted productivity platform!
This commit is contained in:
Tomas Dvorak committed 2026-01-26 12:36:49 +01:00
commit 18aa702174
79 files changed
+12885

No files matched your search

+85
View File
@@ -0,0 +1,85 @@
import {
IconBell,
IconSearch,
IconPlus,
IconMoon,
IconLogout,
IconUser
} from '@tabler/icons-solidjs'
import { Button } from '@/components/ui/Button'
import { Input } from '@/components/ui/Input'
import { cn } from '@/lib/utils'
import { useAuth } from '@/lib/auth'
export interface HeaderProps {
class?: string
title?: string
}
export function Header(props: HeaderProps) {
const { authState, logout } = useAuth();
const handleLogout = async () => {
await logout();
};
return (
<header class={cn('flex h-16 items-center justify-between border-b border-[#262626] bg-[#141415] px-6', props.class)}>
{/* Page Title */}
<div class="flex items-center space-x-4">
<h1 class="text-xl font-semibold text-[#fafafa]">
{props.title || 'Dashboard'}
</h1>
</div>
{/* Search and Actions */}
<div class="flex items-center space-x-4">
{/* Search */}
<div class="relative">
<IconSearch class="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#a3a3a3]" />
<Input
type="search"
placeholder="Search bookmarks, tasks, files..."
class="w-80 pl-10 bg-[#141415] border-[#262626] text-[#fafafa] placeholder-[#a3a3a3]"
/>
</div>
{/* Quick Actions */}
<div class="flex items-center space-x-2">
<Button variant="ghost" size="icon" class="text-[#a3a3a3] hover:text-[#fafafa]">
<IconPlus class="h-5 w-5" />
</Button>
<Button variant="ghost" size="icon" class="text-[#a3a3a3] hover:text-[#fafafa]">
<IconBell class="h-5 w-5" />
</Button>
<Button variant="ghost" size="icon" class="text-[#a3a3a3] hover:text-[#fafafa]">
<IconMoon class="h-5 w-5" />
</Button>
{/* User Menu */}
<div class="flex items-center space-x-2 pl-4 border-l border-[#262626]">
<div class="flex items-center space-x-2">
<div class="text-right">
<p class="text-sm font-medium text-[#fafafa]">{authState.user?.full_name || authState.user?.username}</p>
<p class="text-xs text-[#a3a3a3]">{authState.user?.email}</p>
</div>
<Button variant="ghost" size="icon" class="text-[#a3a3a3] hover:text-[#fafafa]">
<IconUser class="h-5 w-5" />
</Button>
</div>
<Button
variant="ghost"
size="icon"
class="text-[#a3a3a3] hover:text-[#fafafa]"
onClick={handleLogout}
>
<IconLogout class="h-5 w-5" />
</Button>
</div>
</div>
</div>
</header>
)
}
+32
View File
@@ -0,0 +1,32 @@
import { children } from 'solid-js'
import { Sidebar } from './Sidebar'
import { Header } from './Header'
import { cn } from '@/lib/utils'
export interface LayoutProps {
children: any
title?: string
class?: string
}
export function Layout(props: LayoutProps) {
const resolved = children(() => props.children)
return (
<div class={cn('flex h-screen bg-[#18181b]', props.class)}>
{/* Sidebar */}
<Sidebar />
{/* Main Content */}
<div class="flex flex-1 flex-col overflow-hidden">
{/* Header */}
<Header title={props.title} />
{/* Page Content */}
<main class="flex-1 overflow-y-auto bg-[#18181b] p-6">
{resolved()}
</main>
</div>
</div>
)
}
@@ -0,0 +1,72 @@
import { For } from 'solid-js'
import { A } from '@solidjs/router'
import {
IconBookmark,
IconChecklist,
IconFolder,
IconHome,
IconNotebook,
IconSettings
} from '@tabler/icons-solidjs'
import { cn } from '@/lib/utils'
const navigation = [
{ name: 'Dashboard', href: '/app', icon: IconHome },
{ name: 'Bookmarks', href: '/app/bookmarks', icon: IconBookmark },
{ name: 'Tasks', href: '/app/tasks', icon: IconChecklist },
{ name: 'Files', href: '/app/files', icon: IconFolder },
{ name: 'Notes', href: '/app/notes', icon: IconNotebook },
{ name: 'Settings', href: '/app/settings', icon: IconSettings },
]
export interface SidebarProps {
class?: string
}
export function Sidebar(props: SidebarProps) {
return (
<div class={cn('flex h-full w-64 flex-col bg-[#141415] border-r border-[#262626]', props.class)}>
{/* Logo */}
<div class="flex h-16 items-center px-6 border-b border-[#262626]">
<div class="flex items-center space-x-3">
<div class="flex h-8 w-8 items-center justify-center rounded-lg bg-primary-500">
<span class="text-sm font-bold text-white">T</span>
</div>
<span class="text-xl font-semibold text-[#fafafa]">Trackeep</span>
</div>
</div>
{/* Navigation */}
<nav class="flex-1 space-y-1 px-3 py-4">
<For each={navigation}>
{(item) => {
const Icon = item.icon
return (
<A
href={item.href}
class="flex items-center px-3 py-2 text-sm font-medium rounded-md text-[#a3a3a3] hover:text-[#fafafa] hover:bg-[#262626] transition-colors group"
activeClass="bg-primary-600 text-white hover:bg-primary-700"
>
<Icon class="mr-3 h-5 w-5" />
{item.name}
</A>
)
}}
</For>
</nav>
{/* User Section */}
<div class="border-t border-[#262626] p-4">
<div class="flex items-center space-x-3">
<div class="flex h-8 w-8 items-center justify-center rounded-full bg-[#262626]">
<span class="text-sm font-medium text-[#a3a3a3]">U</span>
</div>
<div class="flex-1 min-w-0">
<p class="text-sm font-medium text-[#fafafa] truncate">User</p>
<p class="text-xs text-[#a3a3a3] truncate">user@trackeep.local</p>
</div>
</div>
</div>
</div>
)
}