Skip to content

This is a mock backend API built with NestJS for the Absence Manager app. It serves employee absence and member data, supporting filtering, pagination, and total count tracking.

Notifications You must be signed in to change notification settings

ahmeddhus/absence-api-nestjs

Repository files navigation

Absence Manager API – NestJS

This is a mock backend API built with NestJS for the Absence Manager app. It serves employee absence and member data, supporting filtering, pagination, and total count tracking.

🚀 Features

  • GET /absences
    • Filter by type, from, to
    • Supports pagination with page & limit
    • Returns total matching count
  • GET /members
    • Returns all members
  • GET /members/:userId
    • Returns member info by userId

📦 Tech Stack


📂 Project Structure

src/
├── absence/
│   ├── absence.controller.ts
│   ├── absence.service.ts
│   └── dto/absence.dto.ts
├── member/
│   ├── member.controller.ts
│   ├── member.service.ts
│   └── dto/member.dto.ts
├── data/
│   ├── absences.json
│   └── members.json
└── main.ts

About

This is a mock backend API built with NestJS for the Absence Manager app. It serves employee absence and member data, supporting filtering, pagination, and total count tracking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published