Transforme sua vida em um RPG. Mapeie metas, evolua hábitos, conquiste objetivos.
git init
git add .
git commit -m "feat: LifeMap v1.0"
git branch -M main
git remote add origin https://github.com/SEU_USUARIO/lifemap.git
git push -u origin main- Acesse vercel.com e faça login com GitHub
- Clique em Add New → Project
- Selecione o repositório
lifemap - Vercel detecta Vite automaticamente — clique em Deploy
No Vercel → seu projeto → Settings → Environment Variables, adicione:
| Variável | Valor |
|---|---|
VITE_SUPABASE_URL |
https://xxxx.supabase.co |
VITE_SUPABASE_ANON_KEY |
eyJ... |
VITE_GROQ_API_KEY |
gsk_... |
Clique em Redeploy após salvar as variáveis.
No Supabase → Authentication → URL Configuration:
- Site URL:
https://lifemap.vercel.app(sua URL do Vercel) - Redirect URLs: adicione
https://lifemap.vercel.app/**
No Google Cloud Console → OAuth Credentials → Authorized redirect URIs, adicione:
https://SEU_PROJETO.supabase.co/auth/v1/callback
cp .env.example .env
# Preencha as variáveis no .env
npm install
npm run dev- React 18 + Vite
- Supabase — Auth + PostgreSQL
- Groq API — IA (llama-3.3-70b)
- Vercel — Hosting
Execute o arquivo supabase-schema.sql no Supabase SQL Editor para criar as tabelas.