https://github.com/reeceyang/lates
Request lates and plan menus for meals
https://github.com/reeceyang/lates
Last synced: 3 months ago
JSON representation
Request lates and plan menus for meals
- Host: GitHub
- URL: https://github.com/reeceyang/lates
- Owner: reeceyang
- Created: 2024-02-01T06:37:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T19:04:22.000Z (almost 2 years ago)
- Last Synced: 2025-12-29T12:24:11.638Z (7 months ago)
- Language: TypeScript
- Homepage: https://lates.vercel.app
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lates
Request lates and plan menus for [Xi](https://xi.mit.edu/) house dinners.
Features:
- Add dishes to menus. The app will try to automatically infer tags from the name of the dish. You can also customize the tags manually and add a text description to the menu.
- Request lates by selecting dishes from the menu and specifying additional preferences.
- Name and late preferences are saved to browser localStorage.
- View and create menus and lates for past and future dates.
- Mark lates as cancelled or fulfilled. Edit all dishes and lates after creating them.
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). The project uses [Convex](https://www.convex.dev/), a serverless database framework, for the backend and the [Joy UI](https://mui.com/joy-ui/getting-started/) component library on the frontend. [Day.js](https://day.js.org/) provides date and time utilities.
## Develop
Install dependencies using [pnpm](https://pnpm.io/installation):
```bash
pnpm install
```
To set up Convex, run:
```bash
pnpm convex dev
```
Then, run the development server:
```bash
pnpm dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Project Structure
- `/app`: Contains the only page in the app (so far)
- `/components`: React components for displaying and editing Meals, Lates, and Dishes
- `/utils`: scripts for the autotagging functionality
- `/convex`: Convex serverless functions and database schema
## Deploy
The app is deployed on Vercel. View the [Convex documentation](https://docs.convex.dev/production/hosting/vercel) for instructions on how to deploy a Convex app to Vercel.