Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement API routes #54

Open
10 tasks
IvanoskiHarmonia opened this issue Aug 15, 2024 · 0 comments
Open
10 tasks

Implement API routes #54

IvanoskiHarmonia opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@IvanoskiHarmonia
Copy link
Owner

Implement all the following routes:

  1. Company:
  • GET /company/:id/jobs
    • Retrieve all jobs posted by a company (accessible to HR).
  • GET /jobs/:id/applicants
    • Retrieve all applicants for a specific job.
  • PATCH /applications/:id/reject
    • Reject an applicant and send an email notification.
  • PATCH /applications/:id/status
    • Change an applicant's status to prescreening/interview and email the user.
  1. Admin updates:
  • POST/PATCH /users/:id/permissions
    • Change user permissions.
  • POST/PATCH /users/:id/ban
    • Ban a user to prevent authentication.
  • DELETE /users/:id
    • Delete a user's account.
  1. Jobs:
  • POST /jobs
    • Add a new job to the database.
  • DELETE /jobs/:id
    • Delete a job from the database.
  • PATCH /jobs/:id
    • Update job details in the database.
@IvanoskiHarmonia IvanoskiHarmonia added the enhancement New feature or request label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant