You are on page 1of 7

MUHAMMAD FAHAD

CMS: 356324
Submitted to: Waqas Ahmed 06-03-
2021

DATABASE SYSTEMS

LAB-11
TASKS
Task-1: Create the previous schema, which we did in the last lab. Create some data
in the schema, and observe the results. And, prove that your schema is enough
smart to handle the requirements..

ENTITIES AND THEIR VALUES WITH RESULTS


EMPLOYEE

DEPARTMENT
RECORDS

FILES
STEPS
• First we CREATE the schema of “HR management system” from previous Lab
• then using the select and Insert queries we insert and then display the records inserted
• The results are as shown

Task-2: Create two screen one is for Sign in and sign-up

• In sign-in: You need to create two textfields or input where user


can put email and password.
STEPS
• In this task we use React
• Using components in React, I made a .JS file of login and exported it to the App.js file
and applied appropriate styling in App.css

• In sign-up: You need to create 8 fields, which will get the


information like name, father name, DoB, CMS, semester,
department, hostel and joining_date of NUST.
STEPS
• In this task we use React
• Using components in React, I made a .JS file of login and exported it to the App.js file
and applied appropriate styling in App.css
• The textfields are inserted with appropriate data type
• A scroll feature is also available for overflow

• In sign-up and sign-in: You need to have submit button and that
submit button should fetch information from textfield and display
in JSON format in the log.
STEPS

• In this task we use


Reactand hooks form
• As we can see by applying functions, The fields
entered are displayed under the console tab of Inspect as
shown

===========================================================================
THANK YOU

You might also like