29 lines
455 B
Markdown
29 lines
455 B
Markdown
# Recipe App
|
|
|
|
Simple web app to manage recipes with ingredients and cooking instructions.
|
|
|
|
## Features
|
|
|
|
- Add recipes from a browser form
|
|
- View all saved recipes
|
|
- Persist data in SQLite (`recipes.db`)
|
|
|
|
## Run
|
|
|
|
```bash
|
|
npm install
|
|
npm start
|
|
```
|
|
|
|
Then open `http://localhost:3000`.
|
|
|
|
## Data Model
|
|
|
|
Table: `recipes`
|
|
|
|
- `id` (integer, primary key)
|
|
- `name` (text)
|
|
- `ingredients` (text; newline-separated)
|
|
- `instructions` (text)
|
|
- `created_at` (timestamp)
|