Views
No views yet
📁 lipo-beauty-project/
├── 📄 CLAUDE.md # Ce cahier des charges
├── 📁 documents_site/ # Ressources existantes
│ ├── 📄 adv-forever-therm2.pdf
│ ├── 📄 BIEN VIVRE S...NATUREL.pdf
│ ├── 🖼️ logo_lipobeauty.png
│ └── 📄 Programme C...7 05 2025.pdf
├── 📁 Sites inspiration/ # Références design
├── 📁 mon site a migrer/ # Site actuel lipo-beauty.fr
└── 📁 src/ # Code à développer1# Initialisation Next.js avec Claude Code
2npx create-next-app@latest lipo-beauty --typescript --tailwind --eslint --app
3
4# Structure recommandée
5cd lipo-beauty
6mkdir -p src/components/{ui,forms,layout}
7mkdir -p src/lib/{auth,db,api}
8mkdir -p src/app/{admin,client,api}1$primary-green: #aecc62;
2$secondary-green: #98b854;
3$accent-green: #c4d67a;
4$white: #ffffff;
5$cream: #faf9f6;
6$sage: #9caf88;
7$earth: #8b7355;
8$text-dark: #2c3e2d;
9$text-light: #6b7c6d;1// Optimisation automatique
2- Format auto : WebP/AVIF selon navigateur
3- Qualité adaptative selon connexion
4- Redimensionnement à la volée
5- CDN mondial pour vitesse maximale
6- Transformations : crop, effets, watermarks1-- Tables principales (simplifiées pour solo)
2Users (clients + admin praticienne)
3Services (5 soins avec durées/tarifs)
4Products_Own (~10 produits propres avec stock)
5Products_Partner (~50 refs Forever Living sans stock)
6Appointments (rdv avec flexibilité horaire)
7Orders (commandes mixtes)
8Availability_Slots (créneaux praticienne)
9Newsletter_Subscribers
10Loyalty_Points
11Gift_Cards (services uniquement)
12
13-- Nouvelles tables content marketing
14Blog_Posts (articles SEO + catégories)
15Blog_Categories (organisation contenu)
16Blog_Comments (engagement clients)
17IMC_Calculations (données prospects + lead scoring)
18Quiz_Results (diagnostic peau/objectifs + emails)
19Instagram_Posts (sync automatique @kmb.lipobeauty)
20Lead_Tracking (source: blog, IMC, quiz, Instagram)
21
22Settings (config site)Auth: /api/auth/* (NextAuth)
Appointments: /api/appointments
Products: /api/products
Orders: /api/orders
Newsletter: /api/newsletter
Payments: /api/payments (Stripe webhook)
Calendar: /api/calendar (Google sync)
-- Nouveaux endpoints content marketing
Blog: /api/blog (CRUD articles)
IMC: /api/tools/imc (calculateur + tracking)
Quiz: /api/tools/quiz (diagnostic + lead capture)
Instagram: /api/social/instagram (sync posts)
Analytics: /api/analytics (dashboard prospects)
Admin: /api/admin/*1DATABASE_URL=
2NEXTAUTH_SECRET=
3GOOGLE_CLIENT_ID=
4GOOGLE_CLIENT_SECRET=
5STRIPE_SECRET_KEY=
6STRIPE_WEBHOOK_SECRET=
7EMAIL_API_KEY=
8CLOUDINARY_CLOUD_NAME=
9CLOUDINARY_API_KEY=
10CLOUDINARY_API_SECRET=
11INSTAGRAM_ACCESS_TOKEN= (pour sync posts)
12GOOGLE_ANALYTICS_ID=logo_lipobeauty.png (à intégrer)adv-forever-therm2.pdf (Forever Living)BIEN VIVRE S...NATUREL.pdf (guide bien-être)Programme C...7 05 2025.pdf (planning/tarifs)