Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 683 Bytes

README.md

File metadata and controls

49 lines (32 loc) · 683 Bytes

reddit-clone

This is a basic Reddit clone built using the T3 stack.

Technology

👨🏻‍💻 Development

  1. Install dependencies:
pnpm install
  1. Copy the .env.example file:
cp .env.example .env

Then edit .env, following the instructions in the file.

  1. Deploy the DB schema:
pnpm run db:push
  1. Run the dev server to view the app:
pnpm run dev

🛠️ Utility scripts

Lint the codebase with ESLint:

pnpm lint
pnpm lint:fix # Automatically fix errors

Format the codebase with Prettier:

pnpm prettier
pnpm prettier:fix # Automatically fix errors