- Migrate from React CRA to Next.js 15 with modern architecture - Implement comprehensive shadcn/ui component library - Create complete dashboard system with layouts and navigation - Build authentication pages (login, register) with proper forms - Implement vote management pages (active, upcoming, history, archives) - Add user profile management with security settings - Configure Tailwind CSS with custom dark theme (accent: #e8704b) - Setup TypeScript with strict type checking - Backup old React-based frontend to .backups/frontend-old - All pages compile successfully and build passes linting Pages created: - Home page with hero section and features - Authentication (login/register) - Dashboard with stats and vote cards - Vote management (active, upcoming, history, archives) - User profile with form validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
421 B
Bash
21 lines
421 B
Bash
#!/bin/bash
|
|
|
|
# Script de démarrage du frontend
|
|
|
|
echo "🚀 Démarrage du frontend E-Voting..."
|
|
echo ""
|
|
|
|
# Vérifier si node_modules existe
|
|
if [ ! -d "node_modules" ]; then
|
|
echo "📦 Installation des dépendances..."
|
|
npm install
|
|
echo ""
|
|
fi
|
|
|
|
# Démarrer l'application
|
|
echo "✨ Démarrage du serveur de développement..."
|
|
echo "📍 L'application sera disponible sur http://localhost:3000"
|
|
echo ""
|
|
|
|
npm start
|