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

GI-43 POST NEW APPLICATION #59

Merged
merged 4 commits into from
Dec 5, 2024
Merged

GI-43 POST NEW APPLICATION #59

merged 4 commits into from
Dec 5, 2024

Conversation

SushiS1ay3r
Copy link

ℹ️ Issue
Closes (https://www.notion.so/mahekagg/GI-43-POST-application-11f8b3e6836e8097b7e1c79a2cca1ce4?pvs=4)

📝 Description
Created a post endpoint for adding a new application.

Briefly list the changes made to the code:

Created a post endpoint for new applications and a new getHighestAppId method only for applications.

✔️ Verification
Test JSON body:

{
"appId": 0,
"userId": 0,
"siteId": 0,
"names": ["Daniel"],
"status": "Denied",
"dateApplied": "January 2, 2020",
"isFirstApplication": "true"
}

Postman Request
image

DynamoDB Table
image

@SushiS1ay3r SushiS1ay3r self-assigned this Nov 22, 2024
@dli85
Copy link

dli85 commented Dec 2, 2024

LGTM

@mahekagg mahekagg merged commit 942649a into main Dec 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants