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

590 B

Enlaye Files

This is a Next.js project, with Drizzle and a local file-based SQL database.

Getting Started

Use npm or pnpm (this project's default) or yarn.

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 to clear the database, and restart the app.