A service which helps recruiters post jobs and find the most suitable candidates among the applicants.
Use /recruiters
before every mentioned endpoint.
- signup:
POST: /
- login:
POST: /login
- logout:
POST: /logout
- logout of multiple sessions:
POST: /logoutAll
- Fetch Personal details:
GET: /me
- Update personal details.
PATCH: /me
- Fetch job posts:
GET: /jobs
- Post a job.
POST: /jobs
- Update Job details:
PATCH: /jobs
- Get particular job details:
/jobs/:job_id
- Update Particular Job details:
PATCH: /jobs/:job_id
- Reject or accept a candidate:
POST: /jobs/:job_id/:candidate_id/:outcome
Use /candidates
before every mentioned endpoint.
- signup:
POST: /
- login:
POST: /login
- logout:
POST: /logout
- logout of multiple sessions:
POST: /logoutAll
- Fetch Personal details:
GET: /me
- Update personal details.
PATCH: /me
- Fetch job applications:
GET: /applications
- Apply for a job.
POST: /applications/:job_id
- Delete Job application:
DELETE: /applications/:job_id
- Fetch all drafts:
/drafts
- Save as draft:
PATCH: /drafts/:job_id
- Delete or publish draft:
POST: /drafts/:job_id/:option
Mails are sent when a candidate applies for a job and when a recruiter accepts/rejects the candidate. nodemailer is used for the purpose and mails are sent via smtp but if you have your own domain conside OAuth.
You need a dev.env
file to run in development environment.
You're required to create you'r own config folder with dev.env
file containing
- PORT
- JWT_SECRET
- MONGODB_URL
- MailId
- MailPassword
-
Clone:
git clone <repo> cd <repo_name>
-
install packages and dev-dependencies:
npm install
-
create
config
folder and file as mentioned above. -
start development server
npm run dev
Code was written around a year back, haven't maintained since then. Repo is just to keep track of project.