https://github.com/tchasinga/adminjobposter
An admin dashboard is a centralized control panel that provides administrators, managers, or authorized users with: Core Characteristics Visual interface displaying key metrics, controls, and system status At-a-glance overview of an application, website, or business operations Management capabilities for controlling various aspects of a system
https://github.com/tchasinga/adminjobposter
nextjs typescript
Last synced: 9 days ago
JSON representation
An admin dashboard is a centralized control panel that provides administrators, managers, or authorized users with: Core Characteristics Visual interface displaying key metrics, controls, and system status At-a-glance overview of an application, website, or business operations Management capabilities for controlling various aspects of a system
- Host: GitHub
- URL: https://github.com/tchasinga/adminjobposter
- Owner: tchasinga
- Created: 2025-04-15T13:07:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-15T13:27:52.000Z (about 1 year ago)
- Last Synced: 2025-04-15T14:25:01.785Z (about 1 year ago)
- Topics: nextjs, typescript
- Language: CSS
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
APIS documentation
1. Dashboard APIs (3)
# Endpoint Method Description
1 /api/dashboard/stats GET Fetch summary stats (jobs, applicants)
2 /api/dashboard/applicants-chart GET Data for monthly applicants chart (
# Default (12 months, grouped by month)
GET /api/dashboard/applicants-chart
# Last 6 months weekly data
GET /api/dashboard/applicants-chart?months=6&groupBy=week
# Last 30 days daily data
GET /api/dashboard/applicants-chart?months=1&groupBy=day
)
3 /api/dashboard/jobs-chart GET Data for job type distribution pie chart
====================================================
Job Posting APIs (4)
/api/jobs GET List all job postings (with filters) and GET /api/jobs?poll=true (if you wanna use it)
/api/jobs POST Create new job posting
/api/jobs/:id DELETE Close/delete a job and /api/jobs/[jobId]?action=close and DELETE /api/jobs/[jobId]?action=delete or /api/jobs/:id
/api/jobs/:id PUT Update a job posting
======================================================
Applicants APIs (4)
/api/applicants GET List applicants (search/filter support) and /api/applicants?search=(Search across name, email, company, telegram) or /api/applicants?status=hired (Get all hired applicants) or /api/applicants for general get request
/api/applicants/:id GET Get single applicant details
/api/applicants/:id/status PUT Update status (e.g., "hired")
/api/applicants/export GET Export applicants to CSV/PDF(
# Export to CSV (default)
GET /api/applicants/export
# Explicit CSV export
GET /api/applicants/export?format=csv
# PDF export
GET /api/applicants/export?format=pdf)
=============================================================================
remember we are using mongoDb as Database our ID will always be called
like this _id whenever we want to access any id on frontend we will
access it like this _id