BuildForSDGCohort2 / BuildForSDGCohort2/Team-248-Backend

Accept or Decline Applicant - API

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Validate that the user is auth and verified.
- Validate that the sent application id belongs to the logged-in user
- When user accept the offer, change the status of offer and the accepted application to "Accept" and change the status of the other applications to pending.
- Send notification to the accepted applicant with details about the accepted offer
- Return success message or error message in case of error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the API entry point for accepting or declining an application and the existing authentication, application-status, and notification handling. Compare the implementation with each validation, status transition, notification, and success/error requirement; done means the endpoint enforces authorization and produces the specified outcomes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.