URL: https://lovable.dev/projects/7cf5366c-71a9-473f-8138-4aa431b3d596
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run devEdit a file directly in GitHub
- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.
Use GitHub Codespaces
- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.
Para fazer o deploy do projeto no Vercel:
- Crie uma conta no Vercel se ainda não tiver uma
- Instale o Vercel CLI globalmente:
npm install -g vercel
- Faça login no Vercel via CLI:
vercel login
- Na raiz do projeto, execute:
vercel
- Siga as instruções do CLI para configurar o projeto
- Configure as variáveis de ambiente no dashboard do Vercel:
- VITE_GOOGLE_CLIENT_ID
- VITE_GOOGLE_CLIENT_SECRET
- VITE_GOOGLE_REDIRECT_URI (atualize para o domínio do Vercel)
- VITE_OPENAI_MODEL
Para atualizações futuras, basta fazer push para o repositório conectado ao Vercel ou executar vercel novamente.
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
Simply open Lovable and click on Share -> Publish.
Yes, you can!
To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
Read more here: Setting up a custom domain
Aplicação de chat com orientador acadêmico usando IA.
Para usar a funcionalidade de salvar mensagens no Google Docs, você precisa configurar as credenciais OAuth do Google:
- Acesse o Google Cloud Console
- Crie um novo projeto ou selecione um existente
- Ative as APIs do Google Docs e Google Drive
- Configure a tela de consentimento OAuth:
- Tipo de usuário: Externo
- Escopo: Apenas para testes
- Informações do aplicativo: Nome, email, etc.
- Escopos: Google Docs API, Google Drive API
- Crie credenciais OAuth:
- Tipo: Aplicativo Web
- Nome: Orientador Guido
- URIs de redirecionamento autorizados: http://localhost:8080/auth/google/callback
- Copie o Client ID e Client Secret
- Crie um arquivo
.envna raiz do projeto com as seguintes variáveis:
VITE_GOOGLE_CLIENT_ID=seu-client-id
VITE_GOOGLE_CLIENT_SECRET=seu-client-secret
VITE_GOOGLE_REDIRECT_URI=http://localhost:8080/auth/google/callback
# Instalar dependências
npm install
# Iniciar servidor de desenvolvimento
npm run dev- Chat com orientador acadêmico usando IA
- Salvar mensagens no Google Docs
- Interface moderna e responsiva