Skip to content

dommcdev/chopchop

Repository files navigation

ChopChop

The Digital Cookbook

Getting Started

Prerequisites

  • Bun installed on your system

Installation

  1. Install dependencies:
bun install
  1. Set up .env:
cp .env.example .env

You will eventually need to replace placeholder values with real api tokens

  1. Set up the database:
bun run db:push
  1. Start the development server:
bun dev

The app will be available at http://localhost:3000

Troubleshooting

  • Run bun install
  • Delete the .next folder (rm .next)
  • Make sure .env has everything in .env.example

Available Commands

Command Description
bun dev Start the development server
bun run lint Run linter
bun run format Format code with Prettier
bun run test Run tests with Vitest
bun run db:generate Generate database migrations
bun run db:migrate Apply database migrations
bun run db:push Sync schema directly to the database
bun run db:studio Open Drizzle Studio to view database

About

The Digital cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors