docker compose up -dMigration trong migrations/init/01_schema.sql chạy tự động lần đầu khi volume còn trống (lần đầu docker compose up).
| Thông tin | Giá trị |
|---|---|
| Host | localhost |
| Port | 5432 |
| Database | interview_db |
| User | postgres |
| Password | postgres |
Connection string:
postgresql://postgres:postgres@localhost:5432/interview_db
Nếu cần xóa data và chạy lại init script:
docker compose down docker volume rm interview_postgres_data docker compose up -d- departments – phòng ban (id, name, code)
- employees – nhân viên (liên kết department, có trưởng phòng, ngày vào làm, status)
- attendance – chấm công (employee_id, date, check_in, check_out, source)
npm install npx playwright install npm test- Cấu hình:
playwright.config.js - Test: thư mục
tests/(ví dụ: trang chủ, tìm kiếm izola.vn) - Chạy có giao diện:
npm run test:headed - Debug:
npm run test:debug