gohorsejobs/frontend/src
Tiago Yamamoto a5bb7b2a31 feat: add backend tests to CI pipeline, improve responsive design, add unit tests
- Add test-backend job to .forgejo/workflows/deploy.yaml
- Fix JobService and TicketService tests
- Create ticket_service_test.go
- Create frontend unit tests (forgot-password, jobs/[id], dashboard/users)
- Improve responsiveness for users page, forgot-password, and apply page
2025-12-28 01:27:48 -03:00
..
app feat: add backend tests to CI pipeline, improve responsive design, add unit tests 2025-12-28 01:27:48 -03:00
components feat(frontend): implement roadmap features - services link and boost job action 2025-12-27 23:25:16 -03:00
contexts feat: Email System, Avatar Upload, Email Templates UI, and Public Job Posting 2025-12-26 12:21:34 -03:00
hooks Implement FCM Token Management (DB, Backend, Frontend, Backoffice) 2025-12-26 10:41:50 -03:00
i18n fix(i18n): Correct nesting of company object in es.json 2025-12-23 15:40:37 -03:00
lib feat: admin tickets, dashboard i18n, user edit fix and location picker bugfix 2025-12-26 16:42:19 -03: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