Skip to content

Latest commit

Β 

History

228 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AttachFlow - Professional Attachment Management Platform

A comprehensive Next.js application for managing industrial attachment experiences, built with modern web technologies and AI-powered features.

✨ Features

πŸ“ Daily Logging System

  • Smart Log Creation: AI-powered log polishing and enhancement
  • Attachment-Based Numbering: Week/month counting from first log date
  • Sentiment Analysis: Automatic mood detection and tracking
  • Skill Extraction: AI identifies and tracks skills from log entries
  • Professional Formatting: Clean, university-standard output

πŸ“Š Advanced Analytics & Reports

  • Monthly Reports: AI-generated comprehensive monthly summaries
  • CUT Log Sheets: Professional Chinhoyi University format
  • PDF Generation: High-quality document export with proper formatting
  • Progress Tracking: Visual progress indicators and statistics
  • Attachment Timeline: Clear visualization of attachment journey

🎨 Modern UI/UX

  • Beautiful Calendar: Enhanced date picker with quick navigation
  • Responsive Design: Works perfectly on all devices
  • Dark/Light Mode: Full theme support
  • Gradient Animations: Smooth, professional animations
  • Glass Morphism: Modern design elements

πŸ€– AI-Powered Features

  • Log Enhancement: Transform raw entries into professional content
  • Feedback Generation: Supervisor-style feedback with scorecards
  • Report Generation: Comprehensive monthly and final reports
  • Skill Analysis: Automatic skill identification and tracking

πŸ“± Cross-Platform

  • Web Application: Full-featured Next.js web app
  • Mobile App: Flutter companion app (in development)
  • Offline Support: Works without internet connection
  • Real-time Sync: Instant synchronization across devices

πŸ” Security & Authentication

  • Firebase Auth: Secure user authentication
  • Role-Based Access: Student, supervisor, and admin roles
  • Data Privacy: Encrypted data storage and transmission
  • Firestore Security: Comprehensive security rules

πŸ› οΈ Tech Stack

Frontend

  • Next.js 15 - React framework with App Router
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first styling
  • Shadcn/ui - Beautiful component library
  • React Hook Form - Form management
  • TanStack Query - Data fetching and caching

Backend & Database

  • Firebase Firestore - NoSQL database
  • Firebase Storage - File storage
  • Firebase Auth - Authentication
  • Google Genkit - AI integration

AI & ML

  • Google Gemini - Large language model
  • Custom AI Flows - Specialized AI workflows
  • Sentiment Analysis - Mood detection
  • Content Enhancement - Professional writing assistance

Mobile

  • Flutter - Cross-platform mobile development
  • Dart - Programming language for Flutter

Development Tools

  • ESLint - Code linting
  • Prettier - Code formatting
  • Turbopack - Fast bundler
  • TypeScript - Static type checking

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Firebase project
  • Google Cloud project (for AI features)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/attachflow.git
    cd attachflow
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env

    Fill in your Firebase and Google Cloud credentials.

  4. Run the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:9002

Mobile App Setup

  1. Navigate to mobile directory

    cd mobile
  2. Install Flutter dependencies

    flutter pub get
  3. Run the mobile app

    flutter run

πŸ“ Project Structure

attachflow/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                 # Next.js App Router pages
β”‚   β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ hooks/              # Custom React hooks
β”‚   β”œβ”€β”€ lib/                # Utility functions and configurations
β”‚   β”œβ”€β”€ ai/                 # AI flows and integrations
β”‚   └── types/              # TypeScript type definitions
β”œβ”€β”€ mobile/                 # Flutter mobile app
β”œβ”€β”€ public/                 # Static assets
└── docs/                   # Documentation

🎯 Key Features Breakdown

Daily Logging

  • Create and manage daily attachment logs
  • AI-powered content enhancement
  • Automatic skill extraction
  • Sentiment analysis and mood tracking
  • Professional formatting for university standards

Report Generation

  • Monthly reports with AI-generated summaries
  • CUT-compliant log sheets
  • Final attachment reports
  • PDF export with professional formatting
  • Customizable templates

Analytics Dashboard

  • Progress tracking and statistics
  • Skill development visualization
  • Attachment timeline
  • Performance metrics
  • Goal tracking

User Management

  • Student profiles with attachment details
  • Supervisor access and feedback
  • Admin dashboard and controls
  • Role-based permissions
  • University integration

πŸ”§ Configuration

Firebase Setup

  1. Create a Firebase project
  2. Enable Firestore, Storage, and Authentication
  3. Add your configuration to .env
  4. Set up Firestore security rules

AI Integration

  1. Set up Google Cloud project
  2. Enable Gemini API
  3. Configure Genkit
  4. Add API keys to environment

Mobile Configuration

  1. Set up Firebase for mobile
  2. Configure platform-specific settings
  3. Add necessary permissions
  4. Test on devices

πŸ“š Documentation

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Chinhoyi University of Technology - For the attachment program requirements
  • Firebase Team - For the excellent backend services
  • Google AI - For the powerful Gemini models
  • Vercel - For the amazing deployment platform
  • Open Source Community - For the incredible tools and libraries

πŸ“ž Support


Built with ❀️ for students and educational institutions worldwide.

About

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages