# Intelligent Wardrobe Management System
## Taks: Harpreet
- Nav bar include profile if signed in, else log in button
- include signup page in web-iwm/sec/app/signup/page.js
- same for login
- link these pages in nav bar
- improve nav ui structuring (keep white on black) and fix responsiveness (logo, hamburger and profile icon for mobile aspect-ratio)
## Source Code - Github
https://github.com/DASS-Spring-2024/dass-project-spring-2024-team-42
## Assets and Resources
### For React Icons
https://icons.expo.fyi/Index
### Diagnose your code
```
npx expo-doctor
npx expo install --check
```
### Packages & Dependecies
- Install npm packages using `npm install`.
- Use the `--check` flag to verify package integrity.
- Command: `npm install --check`
- Updated dependencies listed in `package.json`.
- Detect vulnerabilities in installed packages.
- Utilized `npm audit` to identify issues.
- Command: `npm audit`
- Applied automatic fixes using the `npm audit fix` command.
- Command: `npm audit fix`
### The Perfect Commit
- **fix:** Represents a bug fix for your application.
- **feature / feat:** Adds a new feature to your application or library.
- **refactor:** A code change that neither fixes a bug nor adds a feature.
- **deploy:** Changes related to the deployment process.
- **chore:** Upgrades libraries and/or performs maintenance tasks.
- **docs:** Documentation-only changes.
- **test:** Adding missing tests or correcting existing tests.
## Design Document
https://iiitaphyd-my.sharepoint.com/:w:/g/personal/shaunak_biswas_research_iiit_ac_in/EbEWjPPUu_RFt2lqnbGPEpAB9lai4-NIQBuh1xKqQks4hg?e=JRK3X4
## Test Plan
https://iiitaphyd-my.sharepoint.com/:w:/g/personal/shaunak_biswas_research_iiit_ac_in/EaLNu-TX13xCrcmCirgQqiQBdNDL7DxzcBcCszBEVu7OTQ?e=ZhVX0B
S: ['a1', 'b1', 'b2']
V: ['e1', 'b4', 'a4']
J: ['b3', 'c2']
H: ['a2', 'd1']
R: ['a3', 'c1']
The tasks were divided using the code attatched under `Dividing Tasks Randomly`
## Status Tracker
https://iiitaphyd-my.sharepoint.com/:w:/g/personal/jayesh_sutar_students_iiit_ac_in/Ea2SbExM6NhBjsOkTpPdLgsBplpHR68QuyoF9RhVc8R9XA?e=NgSplm
## Project Plan
https://iiitaphyd-my.sharepoint.com/:w:/r/personal/shaunak_biswas_research_iiit_ac_in/_layouts/15/doc.aspx?sourcedoc=%7B5cba98b2-1335-45d4-981e-f4b9e291ab31%7D&action=edit
## Figma
https://www.figma.com/files/project/205612426/Team-project?fuid=1319744743522932374
## SRS (Software Requirements Specification)
### Final SRS with Use Cases
https://iiitaphyd-my.sharepoint.com/:w:/g/personal/shaunak_biswas_research_iiit_ac_in/Ec9agv10zkJKm2-5V9is8pkBXWfWFA6UAsN9Jr05zPI6kg?e=GjKNQQ
### Draft 2
https://iiitaphyd-my.sharepoint.com/:w:/g/personal/shaunak_biswas_research_iiit_ac_in/Ebt6O4B7vihKjQPyIa_VwvsBtnJiYgQaMkdtS0w0QYw-jQ?e=vS4enj
### Draft 1
<A href="https://docs.google.com/document/d/1w5x5r--XXMIegaHBqxKbF5dTd41u-gcZli57Z2FY9S4/edit?usp=sharing">https://docs.google.com/document/d/1w5x5r--XXMIegaHBqxKbF5dTd41u-gcZli57Z2FY9S4/edit?usp=sharing</A>
## Dividing Tasks Randomly
```python
import random
original_list = ['a1', 'a2', 'a3', 'a4', 'b1', 'b2', 'b3', 'b4', 'c1', 'c2', 'd1', 'e1']
people = ['H', 'S', 'R', 'V', 'J']
random.shuffle(original_list)
def divide_list(lst, num_splits):
split_size = len(lst) // num_splits
extra = len(lst) % num_splits
divided = []
for _ in range(num_splits):
split_length = split_size + (1 if extra > 0 else 0)
divided.append(lst[:split_length])
lst = lst[split_length:]
extra -= 1
return divided
divided_list = divide_list(original_list, len(people))
result = {}
for person, sublist in zip(people, divided_list):
result[person] = sublist
for person, sublist in result.items():
print(f"{person}: {sublist}")
```