Open DanielPasion opened 6 months ago
Most of the backend is completed I may have found a bug with the database.js file. The USER may be a environmental variable for MacOS changed from USER to DB_USER instead and works now.
I still need to test the backend code I wrote.
Tested a few routes fixed some logic and syntax errors. POST and GET requests work I used postman for testing, still need to test a few more routes.
Altered Tables TeamMember and Team, when a team is deleted the individual team members in the TeamMember Table are deleted first then the Team is deleted, I think backend is done for this task???
The following routes work:
Get all teams Create new team Delete team Get team by id
User Story
As a user who does not belong to a team, I would like to be able to access a page that gives me the option to either create a team or join a team via access code. Once I choose one of the options, it should be able to redirect me to the team management page and I should no longer be able to see this CreateTeam/JoinTeam Page unless I leave the current team im on.
Requirements
You will be creating the page that loads when a user is not part of a team. The page will be split up into two sections
Create Team
Back End Tasks
Front End Tasks
Reference:
Join Team
FRONT END ONLY
Acceptance Criteria