Skip to content

Complete onboarding task implementation#145

Closed
aashichaubey wants to merge 1 commit intomainfrom
F25/aashi/onboarding
Closed

Complete onboarding task implementation#145
aashichaubey wants to merge 1 commit intomainfrom
F25/aashi/onboarding

Conversation

@aashichaubey
Copy link
Contributor

Notion ticket link

Onboarding Task

Implementation description

  • Implemented team_members database table migration and corresponding Sequelize model.
  • Added TeamMemberService with getTeamMembers and createTeamMember methods to interface with the database.
  • Created API endpoints (GET /team-members and POST /team-members) to fetch and create team members.
  • Built frontend TeamMembersPage to display team members and add a hard-coded member.

Steps to test

  1. Start Docker: docker compose up -d
  2. Run DB Migrations: node migrate up
  3. Go to http://localhost:3000/team-members
  4. Expected outcome:
    • See a table of team members.
    • 'Add a DEV` button.
    • Clicking the button should add a new Aashi entry to the table

Postman Test Cases:
Table

image image image image

teamRole: TeamRole;
};
// same as above but without id
// frontend -> backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great comments, really shows me that you understand the database, model, and types.

@@ -0,0 +1,23 @@
import { DataType } from "sequelize-typescript";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files aren't part of the onboarding. Just pull from main next time :)

@matthewd-so
Copy link
Contributor

Your HTTP request screenshots look good as well. Just fix your conflicts and this should be good to go.

@sthuray sthuray closed this Oct 27, 2025
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