Skip to content

NightClover-code/mini-reddit

Repository files navigation

Running Locally 🖥️

Clone the project

git clone https://github.com/NightClover-code/mini-reddit.git

Go to the project directory

cd mini-reddit

Remove remote origin

git remote remove origin

Install dependencies

yarn install

Add Environment Variables

Check out the env variables in the .env.example file.

Make sure you name your env file .env.local

  • DATABASE_URL is a connection string to a local PostgreSQL database, I run mine using Docker.

  • GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET can be acquired by creating a new GitHub application through: https://github.com/settings/applications/new.

  • AUTH_SECRET is a random string.

Start the server

yarn dev

About

Lightweight, open-source Mini Reddit Clone. Powered by Next.js, Next Auth, Next UI, Prisma, Tailwind CSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published