Commit graph

36 commits

Author SHA1 Message Date
Tiago Yamamoto
88e4596b62 fix(frontend): remove invalid sections from wrangler.toml 2025-12-15 16:31:26 -03:00
Tiago Yamamoto
b8219e322c chore: setup monorepo structure and cloudflare page config 2025-12-15 16:07:38 -03:00
Tiago Yamamoto
00978bf995 fix(frontend): add use client directive to components using hooks 2025-12-15 16:03:10 -03:00
Tiago Yamamoto
11bd1f2fa0 fix(frontend): ajusta estrutura do es.json para corrigir erro de tipo no i18n 2025-12-15 15:17:30 -03:00
Tiago Yamamoto
ad9468bbb6 chore(frontend): set default locale to en 2025-12-15 15:13:18 -03:00
Tiago Yamamoto
4693bc5737 feat(frontend): complete i18n implementation and set default to pt-BR 2025-12-15 15:10:36 -03:00
Tiago Yamamoto
dd18c526e3 fix(frontend): add privacy/terms pages and conditional analytics 2025-12-15 14:53:58 -03:00
Tiago Yamamoto
1818479499 feat(frontend): enable deep linking for job filters via url params 2025-12-15 14:45:58 -03:00
Tiago Yamamoto
640eb10703 feat(frontend): add work mode filter and randomize seeder types 2025-12-15 14:44:14 -03:00
Tiago Yamamoto
78314f2b45 feat(frontend): implement pagination and adjust seeder jobs count 2025-12-15 14:00:42 -03:00
Tiago Yamamoto
3be9807d88 chore: formatting updates and lockfile changes 2025-12-15 10:40:55 -03:00
Tiago Yamamoto
d3d6ae2991 test(frontend): add jest setup and integration tests for API client 2025-12-15 10:26:12 -03:00
Tiago Yamamoto
c9747d3596 fix(integration): correct frontend fallback port to 8521 and handle NULL fields in company entity 2025-12-15 10:19:31 -03:00
Tiago Yamamoto
9edfbcdc93 fix(i18n): 🌍 home page now uses translations properly 2025-12-15 10:04:08 -03:00
Tiago Yamamoto
ee8ed3f1f3 fix(security): 🔒 fixed Next.js vulnerability and Stripe API version 2025-12-15 09:52:43 -03:00
Tiago Yamamoto
92b1515b26 feat(navbar): 🗣️ navbar speaks all languages now 2025-12-15 09:00:49 -03:00
Tiago Yamamoto
ba1385b080 feat(ui): 🏳️ language switcher because one language is never enough 2025-12-15 08:59:44 -03:00
Tiago Yamamoto
69c84c0fa9 feat(layout): 🌐 english first and i18n provider wrapped 2025-12-15 08:59:24 -03:00
Tiago Yamamoto
39b84996d1 feat(i18n): 🎣 hook para pescar traduções automaticamente 2025-12-15 08:58:21 -03:00
Tiago Yamamoto
87fcdcd0fb feat(i18n): 🇧🇷 opa brasil finalmente representa 2025-12-15 08:57:37 -03:00
Tiago Yamamoto
4df8112509 feat(i18n): 🇪🇸 hola mundo español 2025-12-15 08:57:35 -03:00
Tiago Yamamoto
9d9e28e5e9 feat(i18n): 🌍 english first because global domination 2025-12-15 08:56:58 -03:00
Tiago Yamamoto
67c2ccdffe Integrate backend jobs feed into frontend and improve seeder 2025-12-14 20:32:20 -03:00
Tiago Yamamoto
9b4601f1d8 feat: implement dynamic featured jobs
- Add is_featured column to jobs table (migration)
- Update Job model and Service to support featured jobs
- Update JobHandler to expose featured jobs API
- Support filtering by featured status in GET /jobs
- Frontend: Fetch and display featured jobs from API
- Frontend: Update Job type definition
2025-12-14 15:43:43 -03:00
Tiago Yamamoto
1e753b611a chore: add scraper API URL to frontend .env.example and fix gitignore
- Add NEXT_PUBLIC_SCRAPER_API_URL to frontend/.env.example
- Re-enable .env* ignore rules in frontend/.gitignore
2025-12-14 09:57:02 -03:00
Tiago Yamamoto
ddc4e2c2bf chore: add complete .env.example files for all services
- frontend/.env.example: Add SEEDER_API_URL
- seeder-api/.env.example: Expand with server config and backend URL
- job-scraper-multisite/.env.example: New file with scraping config
- Update gitignore files to allow .env.example tracking
2025-12-14 09:48:56 -03:00
Tiago Yamamoto
6f348c7975 chore: add frontend .env.example and fix gitignore
- Update frontend/.gitignore to allow .env.example
- Create frontend/.env.example with correct API_URL format (/api/v1 suffix)
- Document production URL: https://api-dev.gohorsejobs.com/api/v1
2025-12-14 09:39:24 -03:00
Tiago Yamamoto
a4abcf8e05 feat: SEO optimization and dynamic jobs API integration
Backend:
- Add Swagger annotations to all job handlers (GET, POST, PUT, DELETE)
- Clean up job handler code

Frontend:
- Expand api.ts with ApiJob types, pagination, and transform function
- Update footer with 'Vagas por Tecnologia' SEO links
- Add robots.txt with crawler directives
- Add sitemap.xml with main pages and job URLs
- Change branding to GoHorse Jobs
2025-12-14 09:16:44 -03:00
Tiago Yamamoto
14c4bc8370 fix(frontend): remove invalid AdminSidebar import from messages page 2025-12-13 18:46:00 -03:00
Tiago Yamamoto
0684ebfdf6 fix(frontend): remove invalid AdminSidebar import from candidates page
The AdminSidebar component doesn't exist - the dashboard layout already provides the sidebar.
2025-12-13 18:39:04 -03:00
Tiago Yamamoto
18ac6d74f0 chore: update port configuration to avoid conflicts
Port Configuration:
- Backend: 8521 (was 8080/8158)
- Frontend: 8963 (was 3000)

Files updated:
- backend/.env.example: updated PORT and CORS_ORIGINS
- frontend/src/lib/auth.ts: API_URL default to 8521
- frontend/src/lib/api.ts: API_URL default to 8521
- frontend/src/lib/storage.ts: API_URL default to 8521
- run_dev.sh: added port flags and service info display

Usage:
  ./run_dev.sh
  # Backend:  http://localhost:8521
  # Frontend: http://localhost:8963
2025-12-11 17:06:37 -03:00
Tiago Yamamoto
fdd67b8cd6 Merge branch 'hml' into dev 2025-12-11 14:59:40 -03:00
Tiago Yamamoto
9630730d69 feat(frontend): add storage service for S3 file uploads
- Create storage.ts with pre-signed URL handling
- Implement getUploadUrl, uploadFileToS3 helper functions
- Add complete uploadFile workflow for easy file uploads
- Support logos, resumes, documents, avatars folders
2025-12-11 14:58:21 -03:00
Tiago Yamamoto
a505726786 fix: refactor dashboard urls, fix layout duplication and resolve backend api errors 2025-12-09 20:29:49 -03:00
Tiago Yamamoto
7934afcf0d docs: complete project documentation overhaul
- Add comprehensive root README with badges, architecture diagram, and setup guide
- Update backend README with security middlewares and endpoint documentation
- Update frontend README with design system and page structure
- Update seeder-api README with generated data and credentials
- Add internal module READMEs (middleware, handlers, components)
- Document Clean Architecture layers and request flow
- Add environment variables reference table
2025-12-09 19:36:36 -03:00
Tiago Yamamoto
1c7ef95c1a first commit 2025-12-09 19:04:48 -03:00