codersforcauses / codersforcauses/penni

Backend Bugs Summary

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
backend bug priority:high
Dominant language
TypeScript
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Basic Information

- [x] Token needs to include "user_role": "poster" or "bidder" ( or two user table for poster and bidder) **not needed anymore**

- [x] Add user list API

- [x] Create mock data of users, tasks, bids, etc for testing purpose
- user data in db cannot be accessed from frontend
-
![image](https://github.com/user-attachments/assets/1914a956-d6b0-4d3d-a380-d37ae23069d8)

- [x] no `avatar` and `full_name` field in `/users/` api

- [x] Status need to be chosen from this:

- `/app/bids`: "COMPLETED", "ONGOING", "BIDDING", "EXPIRED"
- `/app/tasks`: "BIDDING", "COMPLETED", "CANCELLED", "ONGOING", "PRICE UPDATE"

- [x] pk errors when sending post req (logical error)
![image](https://github.com/user-attachments/assets/b50a03b7-1860-42b8-b1f4-8220a3f45360)
![image](https://github.com/user-attachments/assets/f0df9348-dfef-4574-ab2e-f4e50c9f5e07)

- [ ] Need to add function to compare the date between the deadline and today, then automatically change `status` of bidding tasks or bidding bids to `"COMPLETED"`

## Other Information
**[Are there any additional information that we should know about?]**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.