codersforcauses / codersforcauses/penni

Model fields - datatype and validation checks

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

Description

## Basic Information
The `price` field in the model should be a number, also make sure the requests are being validated (e.g. email/mobile is valid using regex, status is from the list of allowed statuses etc)

And make sure pages that reference the model handles the change correctly

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the model, request-handling entry points, and pages that reference it. Inspect the existing price, email, mobile, and status handling before determining the required validation behavior; done means the model fields and requests reject invalid values and all referencing pages still work correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.