0% found this document useful (0 votes)
7 views

React Assignment-1

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

React Assignment-1

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment

A company has users, these users have targets. These targets have objectives and check-ins. These objectives and
check-ins are used to track the progress of the target. One target can have many objectives and check-ins. These can be
assigned to any no./many of user. A user can be a creator of the target, coach on the target or a target user.

A coach who is assigned to a target can also be assigned to check-ins of the same the target

Considering these entities, we must create a page, which shows a table I.e., of list of targets.

1. There will be 3 tabs

A. created by me – targets created by me


B. assigned to me – targets assigned to me
C. coach targets – targets on which the user is a coach

2. Each target row, along with other details (name, image etc.), should have a count of check-ins assigned to that
user whether as a coach or target user.

3. Each target row should also have a count of objectives assigned to that user a target user.

4. The table should have features like pagination and global search

Create a script to create all the entities needed.


Create database schema with necessary relations for the above scenario, can use below details for reference.

Target Checkin
1. Id 1. Id
2. Title 2. Name
3. Created date 3. Tagret id
4. StartDate 4. Completion status (completed if all users
5. Creator id assigned have complete)
6. Image 5. Created date
6. Start date
Objective 7. Due date
1. Id
2. Name User
3. Target id 1. Id
4. Created date 2. Name
5. Start date 3. Image
6. Due date
7. Completion status(completed if all users assigned
have complete)

You might also like