About
Breadit is a modern fullstack Reddit clone, built with the newest NextJS 13 App Router, Tailwind CSS, and TypeScript.
Features
- Infinite scrolling for dynamically loading posts
- Authentication using NextAuth & Google
- Custom feed for authenticated users
- Advanced caching using Upstash Redis
- Optimistic updates for a great user experience
- Modern data fetching using React-Query
- A beautiful and highly functional post editor
- Image uploads & link previews
- Full comment functionality with nested replies
- ... and much more
Getting started
To get started with this project, clone the repository:
and copy .env.example file into a separate .env file:
then fill in the required environment variables.
If you'd like, you can paste this snippet for quick component creation (optional):
and that's all you need to get started!
Acknowledgements
- Upstash Redis for making this possible
- Code with Antonio for thumbnail design inspiration
- Shadcn's Taxonomy respository for showcasing the post editor
- Josh tried coding for the awesome tutorial
Try the Application
Visit the URL: https://breadit.kentandrian.vercel.app/