Tiago Yamamoto
|
76e9845261
|
chore: cleanup and unify start.sh
- Remove docker-compose.yml (using podman/quadlet now)
- Remove my-auth.json (temporary auth file)
- Remove verify_frontend.sh (functionality in start.sh)
- Add Docker build option (a) to start.sh menu
- Add Forgejo registry push option (b) to start.sh menu
|
2026-01-02 08:53:47 -03:00 |
|
Tiago Yamamoto
|
d3c06f5564
|
feat: expand testing, add fast seeder options, hardcode superadmin
- start.sh: Add options 8 (Seed LITE - skip cities) and 9 (Run All Tests)
- seeder: Add seed:lite, seed:fast scripts and --skip-locations flag
- seeder: Remove superadmin creation (now via backend migration)
- backend: Update 010_seed_super_admin.sql with hardcoded hash (Admin@2025! + pepper)
- backend: Expand jwt_service_test.go with 5 new tests (+10% coverage)
- frontend: Fix api.test.ts URL duplication bug, add error handling tests
- seeder: Add SQL data files to .gitignore
|
2025-12-24 17:07:45 -03:00 |
|
Tiago Yamamoto
|
d2266eb0f9
|
fix(start.sh): option 6 now runs full pipeline (reset → migrate → seed)
- Step 1: Drop all tables
- Step 2: Run migrations
- Step 3: Seed data
- Fixed misleading 'seeded' message
|
2025-12-24 10:53:19 -03:00 |
|
Tiago Yamamoto
|
2fb81a6d1a
|
fix(migrations): use Node.js runner instead of psql
- Improve migrate.js with error handling for idempotent migrations
- Add 'npm run migrate' script to seeder-api/package.json
- Update start.sh option 4 to use Node.js-based migration runner
- Handles duplicate tables, columns, constraints gracefully
|
2025-12-24 10:47:25 -03:00 |
|
Tiago Yamamoto
|
db1a9b9edc
|
feat(start.sh): add migrations and seed reset options
- Reorganize menu with sections: Services, Database, Testing
- Add option 4: Run Migrations (psql each migration file)
- Add option 6: Seed Reset with confirmation prompt
- Renumber tests to option 7
|
2025-12-24 10:44:07 -03:00 |
|
Tiago Yamamoto
|
8544ca5cfc
|
feat(dev): 🎮 unified interactive start script
|
2025-12-15 10:00:50 -03:00 |
|