Skip to content

gbarros-dev/reddit-clone

Repository files navigation

Reddit Clone

This is a T3 Stack project bootstrapped with create-t3-app.

What is this app?

This app is a challenge for a basic Reddit clone.

How to run it?

This app works with Planetscale, for database, and Clerk, for authentication. To run this project you basically need the following env vars:

# Planetscale
DATABASE_URL='planetscale database url'
DATABASE_HOST='planetscale database host'
DATABASE_NAME='planetscale database name'
DATABASE_USERNAME='planetscale database username'
DATABASE_PASSWORD='planetscale database password'

# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY='clerk publishable key'
CLERK_SECRET_KEY='clerk secret key'
CLERK_WEBHOOK_KEY='clerk webhook key'

Ps.: we make use of Clerk webhook to create a user on our database whenever it is created on Clerk. We store just basic information so we can provide some user informations regarding name, username and account image.

How do I deploy this?

A simple deploy on Vercel or Netlify would do the job, with the required env vars.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published