Reddit clone
Find a file
2025-08-04 15:33:01 +02:00
db chore: init 2025-08-04 14:28:10 +02:00
src feat: add shadcn-svelte 2025-08-04 15:25:17 +02:00
static chore: init 2025-08-04 14:28:10 +02:00
.gitignore chore: init 2025-08-04 14:28:10 +02:00
.npmrc chore: init 2025-08-04 14:28:10 +02:00
.prettierignore chore: init 2025-08-04 14:28:10 +02:00
.prettierrc chore: init 2025-08-04 14:28:10 +02:00
components.json feat: add shadcn-svelte 2025-08-04 15:25:17 +02:00
eslint.config.js chore: init 2025-08-04 14:28:10 +02:00
package.json build: include pb_migrations to outDir 2025-08-04 15:33:01 +02:00
pnpm-lock.yaml feat: add shadcn-svelte 2025-08-04 15:25:17 +02:00
README.md docs: add project description to readme 2025-08-04 14:34:44 +02:00
svelte.config.js chore: init 2025-08-04 14:28:10 +02:00
tsconfig.json chore: init 2025-08-04 14:28:10 +02:00
vite.config.ts chore: init 2025-08-04 14:28:10 +02:00

heddit

Another reddit clone to train me.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.