---
# System prepended metadata

title: Weekly Updates - Sprint 2

---

# Weekly Updates - Sprint 2

## 1. front-nc
### Ayman
- [x] General Updates
    - Update Sidebar component 
    - Organize user pages
    - Update dashboard routes
    - Remove Cookies
- [x] Create Rejected users list 
- [x] Create Edit User Profile Page
    - Username change
    - Notification (postponed)
- [x] Create Payment Settings Page (postponed)
    - Add new Payment details
    - Edit Payment details
- [x] Create Modal to send reason of rejection to user
- [ ] Create Page to add new users from admin dashboard (To-Do) 


### Nujood
- [x] Edit page functionality  
    - Add upload image component + crop feature 
    - Handle its form
    - Update auth services [CRUD]
    - Move the endpoints onto seperate constant file
- [ ] Refator the code
    - Update `hooks` folder
    - Add `admin` service
    
-----
## 2. api-nc
### Rand
 - [X] Edit user inforamation
 - [X] Edit financial information
 - [X] Edit file structure in api
 - [ ] Create, Edit, delete user (Admin)

### Nujood:
 - [X] Polish up the emailing service
 - [X] Add winston, morgan. 
 - [X] Edit user's profile based on the frontend request
 - [X] Add image uploading service into s3 
 - [ ] Add swagger to the repo
### Zaher & Ibrahim
- [ ] Match users with their contents (backend)
----

## 3. calc-nc
### Zaher & Ibrahim
- [x] Seperated live stream from recoded
- [x] Counted TVOD for each live streaming
- [x] Estimated the TVOD seconds
- [x] Calculated the shrared revenue for each content per report
- [x] Stored calculated sahred revenue data to the database 


## 4. db-models-nc
### Zaher & Ibrahim
- [x] Hosted database models to npm: https://www.npmjs.com/package/db-models-nc
- [x] Created a new Repository for database models: https://github.com/NextUp-comedy/db-models-nc
- [x] Added new model called `user_satuses` to store the statuses for our users:
  - PENDING
  - APPROVED
  - REJECTED
  - BANNED
---

### Note: waiting for the client repsonse on how to calcaute the revenue