Skip to content

Conversation

@elanlaw1206
Copy link
Contributor

(how to test):
) npm ci
2) cp .env.example .env (MAILER_DRIVER=log by default)
3) PORT=3000 npm start
4) POST /api/auth/request-email-verification {"email":"testuser@example.com"}
-> 200 and dev verification link in server logs

Eric-Studley and others added 30 commits May 13, 2024 21:13
…e/mealplan

WIP meal plan api get post delete
Added Swagger UI to project (automatically opens on launch) to assist frontend in using the endpoints.

Removed postman files.
…e/api-spec-swagger

Updated OpenAPI Spec + Swagger UI
…e/fix-user-prefs

Changed API spec for user preferences to be POST instead of PUT
API-Patch notes
Development of logging file
using mocha and chai
wrote unit test for login endpoint
Developed Vulnerability tool
some login api tests complete:
- still need to add tests for MFA enabled log ins
- need to refactor and use stubs as well, don't want to use real credentials for tests

sign up API tests done

fixed bug in signupController that allowed duplicate usernames to be created in the DB:
- userExists.username doesnt work because getUser returns an array, changed to userExists.length > 0 so it checks if anything is in the array
- now wont be able to create users with duplicate usernames, whereas could before

added in a deleteUser function for the DB

also changed getUser to get entire user row from DB instead of just username, we can probably remove the getUserCredentials function entirely and just use getUser
appointment api tests written
also added deleteAppointment function
…e/recipe-image

Added recipe image saving and retrieval
contact us tests done
recipe tests done but found some bugs that i need to come back to to fix
- add recipe isnt adding to the relations table
(API): Test (function) - (Expected Result)
…e/recipe-image

bugfix if image isnt included in the payload
32 test cases
all passing
also fixed a few bugs that I found while writing the tests
V1.1 Version with 5 Additional Vulnerability Patterns Identified
madhavi2809 and others added 29 commits August 2, 2025 22:42
added audit-logs for user logins and account creation
…-estimation

Recipe Cost Estimation API: Fix some issues (error handling & SwaggerUI) and complete enhancement
…_Cyber_Failed_Login_Email

Implemented Failed Login Email Alerts
…ad-protection

Implement Role-Based Access Control (RBAC) with JWT Role Injection and Middleware
…_signupfunctionality_integrationteam

Signup Functionality (Integration Team)
@TUT888
Copy link
Contributor

TUT888 commented Sep 25, 2025

Hi, your PR has too many conflicts that must be resolved. Please only focus on the main changes of your features only, don't overwrite other's code.

Thank you!

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.