An open API service indexing awesome lists of open source software.

https://github.com/serkanisyapan/reddit-light

Full stack reddit clone made with T3-Stack
https://github.com/serkanisyapan/reddit-light

nextjs prisma reactjs t3-stack tailwindcss tanstack-react-query typescript zod

Last synced: 3 months ago
JSON representation

Full stack reddit clone made with T3-Stack

Awesome Lists containing this project

README

          

## Reddit Light

Reddit Light is a full stack application bootstrapped with T3-Stack. Users can create new posts about any topic, leave comments on posts and upvote-downvote them.

### Live demo

\*\*https://reddit-light.vercel.app

### Getting Started

To run the project locally, follow these steps:

- Clone the repository to your local machine.
- Navigate to the project directory and run npm install to install all dependencies.
- Create a **.env** file in the project directory and setup your environment variables based on **.env.example**
- Run **npm start** to start the development server.

#### Prerequisites

- Node.js
- npm

## Tech Stack

- [T3 Stack](https://create.t3.gg/)
- [Next.js](https://nextjs.org)
- [Prisma](https://prisma.io)
- [Tailwind CSS](https://tailwindcss.com)
- [tRPC](https://trpc.io)
- [React Hook Form](https://react-hook-form.com/)
- [React Query](https://tanstack.com/query/latest)
- [DaisyUI](https://daisyui.com/)
- [Zod](https://zod.dev/)
- [Dayjs](https://day.js.org/)
- [Typescript](https://www.typescriptlang.org/)
- [Planetscale](https://planetscale.com/)
- [Clerk](https://clerk.com/)
- [Upstash](https://upstash.com/)

### Features

- **Authentication** using Github account via Clerk
- **Planetscale database** to store posts, comments and votes
- **Posts** create, edit and delete posts you have posted
- **Comments** leave comments to posts other users created
- **Vote** upvote or downvote on posts other users created
- **User Profile** check posts you have posted, commented and voted on your profile page

### Authors

- Serkan Isyapan - Developer

### Acknowledgments

- React.js documentation
- Typescript
- tRPC
- Prisma
- Tanstack React Query
- Zod