GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - EasyChecks/easychecks: Attendance and workforce management platform — Next.js frontend, Express + TypeScript API, Prisma, and PostgreSQL/Supabase. Shift scheduling, attendance tracking, and audit logs, with Docker and CI.

BranchesTags
Open more actions menu

Latest commit

 

History

206 Commits
206 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
backend
backend
 
 
frontend
frontend
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierrc
.prettierrc
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
render.yaml
render.yaml
 
 
swagger-fixed-id-demo-note-2026-03-22.txt
swagger-fixed-id-demo-note-2026-03-22.txt
 
 
test-apis.sh
test-apis.sh
 
 
test-multishift.sh
test-multishift.sh
 
 

Repository files navigation

EasyCheck

Attendance and workforce management platform with Next.js frontend, Express TypeScript backend, Prisma, and PostgreSQL/Supabase.

CI Pipeline Node Version Docker

Monorepo Layout

  • frontend: Next.js app (port 3000 in local dev)
  • backend: Express API + Prisma (port 3001 in local dev)
  • test-apis.sh: one-click core API smoke tests (attendance, shift, audit)

Prerequisites

  • Node.js 22.x
  • npm
  • PostgreSQL or Supabase project
  • Optional: Docker + Docker Compose

Local Development

  1. Install dependencies.
npm install
cd backend && npm install
cd ../frontend && npm install
  1. Configure environment variables.
  • Create backend/.env with database and Supabase values
  • Create frontend/.env.local with NEXT_PUBLIC_API_URL=http://localhost:3001
  1. Generate Prisma client and run migrations.
cd backend
npx prisma generate
npx prisma migrate dev
  1. Start apps in separate terminals.
cd backend && npm run dev
cd frontend && npm run dev

Docker Development

docker-compose up -d --build
docker-compose logs -f

Typical access:

  • Frontend: http://localhost
  • API: http://localhost:3000
  • Swagger: http://localhost:3000/api-docs

Testing

From repository root:

npm run test:core-apis

Backend:

cd backend
npm test
npm run test:coverage

Frontend:

cd frontend
npm test
npm run test:coverage

Common Operations

Format all files:

npm run format

Backend lint/type-check:

cd backend
npm run lint

Reset and reseed backend DB:

cd backend
npx prisma migrate reset --force
npm run seed

Schema sync (team-safe path after recent destructive schema updates):

cd backend
./scripts/db-sync-for-team.sh local

Docker stack sync (API on port 3001):

cd backend
./scripts/db-sync-for-team.sh docker
cd ..
BASE=http://localhost:3001/api bash ./test-apis.sh

Documentation

  • Backend guide: backend/README.md
  • Frontend guide: frontend/README.md
  • API docs (runtime): /api-docs

Backend tests

cd backend npm test # Run all tests npm run test:watch # Watch mode npm run test:coverage # Coverage report

Frontend tests

cd frontend npm test # Run all tests npm run test:watch # Watch mode npm run test:coverage # Coverage report


**In Docker:**
```bash
docker exec -it easycheck-backend npm test
docker exec -it easycheck-frontend npm test

🔧 Troubleshooting

Hot Reload ไม่ทำงาน

docker-compose restart backend
docker-compose restart frontend

Port ชนกัน

# หา process ที่ใช้ port
lsof -i :3000
lsof -i :80

# Kill process
kill -9 <PID>

Database Connection Error

# Restart postgres
docker-compose restart postgres

# Check postgres logs
docker-compose logs postgres

# Reset database (⚠️ ลบข้อมูล)
docker-compose down -v
docker-compose up -d

Prisma Generation Error

docker exec -it easycheck-backend npx prisma generate
docker-compose restart backend

🤝 Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'feat: add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License.


👥 Team

Made with ❤️ by EasyCheck Team


📞 Support

มีปัญหาหรือข้อสงสัย?

  • 📖 อ่าน Backend README หรือ Frontend README
  • 💬 ถาม ใน Discord server
  • 🐛 สร้าง Issue บน GitHub

About

Attendance and workforce management platform — Next.js frontend, Express + TypeScript API, Prisma, and PostgreSQL/Supabase. Shift scheduling, attendance tracking, and audit logs, with Docker and CI.

easychecks.easycheck.workers.dev/login

Topics

attendance-managementci-cddockerexpressfull-stackmonoreponextjspostgresqlprismasupabasetypescriptworkforce-management

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.