mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
18aa702174
🚀 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!
40 lines
1.1 KiB
Go
40 lines
1.1 KiB
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
// Bookmark represents a saved bookmark/link
|
|
type Bookmark struct {
|
|
ID uint `json:"id" gorm:"primaryKey"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
|
|
|
|
UserID uint `json:"user_id" gorm:"not null;index"`
|
|
User User `json:"user,omitempty" gorm:"foreignKey:UserID"`
|
|
|
|
Title string `json:"title" gorm:"not null"`
|
|
URL string `json:"url" gorm:"not null"`
|
|
Description string `json:"description"`
|
|
|
|
// Organization
|
|
Tags []Tag `json:"tags,omitempty" gorm:"many2many:bookmark_tags;"`
|
|
|
|
// Metadata
|
|
Favicon string `json:"favicon"`
|
|
Screenshot string `json:"screenshot"`
|
|
IsRead bool `json:"is_read" gorm:"default:false"`
|
|
IsFavorite bool `json:"is_favorite" gorm:"default:false"`
|
|
|
|
// Content extraction
|
|
Content string `json:"content"`
|
|
Author string `json:"author"`
|
|
PublishedAt *time.Time `json:"published_at"`
|
|
|
|
// Reading tracking
|
|
ReadAt *time.Time `json:"read_at"`
|
|
}
|