calpoly-csai / calpoly-csai/MealPrepAI

[ISSUE-020] Inventory Schema & API

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
backend phase-4
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Phase 4: Inventory Management (Week 6)

### Description
Implement Inventory model
Create inventory endpoints (GET, PUT /api/inventory)
Create add ingredient endpoint (POST /api/inventory/ingredient)
Create remove ingredient endpoint (DELETE /api/inventory/ingredient/:name)
Add expiration date tracking

### Dependencies
- #005

### Can Work in Parallel With
- #021

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing dependency #005 and the repository's existing API and model patterns. Implement the inventory model and the listed GET, PUT, POST ingredient, and DELETE ingredient endpoints, including expiration date tracking. Done means all specified routes and inventory behavior are present and consistent with the existing API.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.