npm start
To run: cd src/lib Book 4 - joining related data
A small business wants to keep track of its employees and the computers that they use. Each employee is assigned to a department, and they each get assigned a computer when they join the company.
- Build arrays of objects that represent Employees, Departments, and Computers.
- Assign every resource a unique id property.
- Assign each employee to a department using a foreign key.
- Assign each employee a computer using a foreign key.