Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,23 @@ src/
├── models/ # Modelos do MongoDB
├── routes/ # Rotas da API
└── server.js # Arquivo principal

example-frontend/ # Aplicação frontend de exemplo
```

## 💻 Exemplo de Frontend

Uma aplicação frontend mínima está disponível em `example-frontend/` demonstrando como integrar a autenticação OAuth com esta API.

**Para usar o exemplo:**

```bash
cd example-frontend
npm install
npm run dev
```


## ✅ Testes

Execute os testes unitários:
Expand Down
1 change: 1 addition & 0 deletions example-frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
13 changes: 13 additions & 0 deletions example-frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Exemplo de Autenticação - Sistema de Aprendizagem</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

Loading