coryhouse / coryhouse/react-restaurant-scriptpro

Set up JSON Server mock API with seed foods

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
enhancement phase-2-fetching
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Goal
Add `json-server` as a mock REST API, seeded with food items, runnable alongside the Vite dev server.

## Acceptance criteria
- [ ] `json-server` installed
- [ ] `db.json` seeded with a `foods` array of ~8–10 items (each with `id`, `name`, `description`, `price`, `tags`, `image`)
- [ ] `bun start` runs both the API and Vite frontend together
- [ ] API reachable at e.g. `http://localhost:3001/foods`

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.