A modern, responsive chore tracking application with admin authentication and comprehensive household management features.
- Username:
admin - Password:
admin123
- Protected routes requiring authentication
- Session persistence using localStorage
- Role-based access control (Admin/User)
- Secure logout functionality
- Admin Dashboard - Overview of system health and statistics
- User Management - Add/remove household members
- Chore Management - Full CRUD operations for chores
- System Monitoring - Track completion rates and performance
- 25+ Pre-loaded Chores across 9 categories
- Pet Care Focus - Multiple daily pet care tasks
- Member Assignment - Assign chores to family members
- Completion Tracking - Record who did what and when
- Responsive Design - Works on desktop, tablet, and mobile
- Tailwind CSS - Beautiful, modern styling
- Shadcn UI - Professional component library
- Custom Color Palette - Sage green, soft white, charcoal gray
- Node.js 16+
- npm or yarn
# Clone the repository
git clone <repository-url>
cd chore-tracker
# Install dependencies
npm install
# Start development server
npm run dev- Open your browser to
http://localhost:3000(or the port shown) - You'll see the Login Page first
- Use the default credentials:
- Username:
admin - Password:
admin123
- Username:
- Click "Sign In" to access the admin panel
- Chores - Main chore management interface
- Statistics - Performance analytics and reports
- Admin Dashboard - System overview and admin controls
- LoginPage - Authentication interface
- ProtectedRoute - Route protection wrapper
- AuthContext - Authentication state management
- AdminDashboard - Admin-specific features
- Header - Navigation with logout functionality
- Sidebar - Navigation menu with admin options
- Primary: Sage Green (#87A96B)
- Background: Soft White (#FEFEFE)
- Text: Charcoal Gray (#2F3E46)
- Accents: Muted Blue (#6B9DC2), Soft Coral (#E07A5F)
- Status: Fresh Green (#81C784), Amber Yellow (#FFB74D), Gentle Red (#E57373)
- Headings: Modern, readable fonts
- Body: Clean, accessible text
- Mobile Optimized: Responsive font sizing
- React 18 - Modern React with hooks
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first CSS framework
- Vite - Fast build tool and dev server
- React Context - Authentication state
- Local Storage - Data persistence
- React Hooks - Component state management
- User visits app β redirected to login
- Enter credentials β validation
- Success β redirect to main app
- Session stored in localStorage
- Protected routes check authentication
- Logout β clear session β return to login
- Mobile-first approach
- Touch-friendly interface
- Collapsible sidebar for mobile
- Optimized layouts for all screen sizes
- 44px minimum touch targets
- Responsive typography
- Mobile-friendly modals
- Optimized spacing and padding
- Cat Litter Box - 2x daily cleaning
- Pet Feeding - 2x daily feeding
- Dog Walking - 3x daily walks
- Progress Tracking - Daily completion counters
- Frequency-based due dates
- Overdue detection with visual indicators
- Completion progress bars
- Next due time calculations
- Client-side authentication (demo purposes)
- Local storage for session management
- Protected routes and components
- Backend API with JWT tokens
- HTTPS encryption
- Password hashing (bcrypt)
- Rate limiting for login attempts
- Session timeout and refresh tokens
npm run build- Vercel - One-click deployment
- Netlify - Static site hosting
- GitHub Pages - Free hosting
- Custom Server - Node.js/Express backend
interface Chore {
id: string;
name: string;
description: string;
category: ChoreCategory;
frequency: Frequency;
completionsPerDay?: number;
estimatedTime: number;
assignee?: string;
isActive: boolean;
createdAt: Date;
lastCompleted?: Date;
nextDueDate: Date;
completedToday?: number;
}interface User {
id: string;
username: string;
email: string;
role: 'admin' | 'user';
isActive: boolean;
createdAt: Date;
lastLogin?: Date;
}- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- TypeScript for type safety
- ESLint for code quality
- Prettier for formatting
- Component-based architecture
This project is licensed under the MIT License - see the LICENSE file for details.
- Blank page after login - Check browser console for errors
- CSS not loading - Ensure Tailwind CSS is properly configured
- Authentication failing - Verify credentials and localStorage
- Check the browser console for error messages
- Verify all dependencies are installed
- Ensure Node.js version is compatible
Built with β€οΈ using React, TypeScript, and Tailwind CSS
Your household chores, organized and tracked with admin precision!