JobSearch API is a Node.js-based backend application built to power a modern job search platform. It supports user authentication, job listings, company management, and real-time communication between users and HR representatives.
- User Authentication: Email and Google-based sign up/login with JWT tokens.
- Profile Management: Users can update personal info, profile/cover pictures, and soft-delete their account.
- Company Management: Companies can be created, updated, and soft deleted. Admins can approve or ban companies.
- Job Listings: Company HRs can post jobs with filters for location, skills, and seniority. Users can apply and track jobs.
- Applications: Manage job applications with pagination, and notify applicants via email.
- Admin Dashboard: GraphQL-powered dashboard for managing users and companies.
- Real-time Chat: Built with Socket.IO for HR-to-user messaging.
- Task Scheduling: Automated cleanup for expired OTPs using
node-cron.
- Backend: Node.js, Express.js
- Database: MongoDB (via Mongoose)
- Authentication: JWT, Google OAuth, Bcrypt, OTP via Nodemailer
- File Uploads: Multer + Cloudinary
- Security: Helmet, CORS, Rate Limiting, Encrypted Fields
- GraphQL: GraphQL, graphql-http, playground middleware
- Real-time Messaging: Socket.IO
- Scheduling: node-cron
- Clone the repository:
git clone https://github.com/your-username/jobsearch-api.git
- Navigate to the directory:
cd jobsearch-api - Install dependencies:
npm install
- Configure environment variables in a
.envfile:
To run the app in development mode:
npm run dev- 📬 Postman Collection: API Documentation via Postman
- 🧠 GraphQL Docs: Available via GraphQL Playground at
/graphql/playground