Files
enlaye_challenge/README.md
konrad-enlaye ef321c3ff8 update readme
2025-12-05 13:00:04 -05:00

22 lines
590 B
Markdown

# Enlaye Files
This is a [Next.js](https://nextjs.org) project, with Drizzle and a local file-based SQL database.
## Getting Started
Use `npm` or `pnpm` (this project's default) or `yarn`.
```bash
pnpm install
pnpm run db:push # to create the database and update it
# Then you can run these two background tasks
pnpm run dev
pnpm run db:studio
```
## Troubleshooting
- `pnpm run db:push` is necessary at the beginning, and whenever `schema.ts` is updated.
- whenever something is wrong with the database, delete [`sqlite.db`](./sqlite.db) to clear the database, and restart the app.