gohorsejobs/frontend/src
Redbull Deployer 2bfe3b7173 feat: add test connection feature for all external services
# Conflicts:
#	frontend/src/lib/api.ts
2026-03-07 12:12:05 -06:00
..
app feat: add test connection feature for all external services 2026-03-07 12:12:05 -06:00
components UI: Fix ticket dialogs, i18n interpolation, and Add Job button 2026-03-04 15:34:32 -06:00
contexts fix(frontend): harden home jobs loading states 2026-03-07 11:06:47 -03:00
hooks feat: implement careerjet gap analysis improvements 2026-02-14 19:37:25 +00:00
i18n fix(frontend): harden home jobs loading states 2026-03-07 11:06:47 -03:00
lib feat: add test connection feature for all external services 2026-03-07 12:12:05 -06:00
README.md docs: complete project documentation overhaul 2025-12-09 19:36:36 -03:00

Frontend Source

Código fonte do frontend Next.js.


📁 Estrutura

Diretório Descrição
app/ App Router - páginas e layouts
components/ Componentes React reutilizáveis
contexts/ React Contexts (Auth, Theme)
hooks/ Custom hooks
lib/ Utilitários e configurações

🔑 Contextos

AuthContext.tsx

Gerencia autenticação global:

  • Estado do usuário logado
  • Funções de login/logout
  • Token JWT em localStorage

🪝 Hooks

Hook Descrição
useAuth Acesso ao contexto de autenticação
useProfile Gerenciamento de perfil de usuário

📦 Lib

Arquivo Descrição
utils.ts Funções helper (cn, formatDate)
api.ts Cliente HTTP para backend