Skip to content

Chirp is a social media application built with Next.js, trpc, TypeScript, and Tailwind CSS.

Notifications You must be signed in to change notification settings

romulororiz/chirp

Repository files navigation

Chirp

Chirp is a social media application built with Next.js, trpc, TypeScript, and Tailwind CSS.

Features

  • User authentication using Clerk.dev Github OAuth
  • Posting functionality - Only emojis allowed 🐦🐦
  • Deleting post functionality if current user is post owner
  • Timeline displaying posts users
  • Profile pages for each user, displaying their posts
  • Responsive design using Tailwind CSS

Tech Stack

  • Next.js
  • trpc
  • TypeScript
  • Tailwind CSS
  • Clerk.dev
  • Prisma
  • Planetscale
  • Upstash Redis

Installation

  1. Clone the repository:
git clone https://github.com/romulororiz/chirp.git
  1. Navigate to the repository:
cd chirp
  1. Install dependencies:
npm install
  1. Set up environment variables. Rename the .env.example file to .env.local and fill in the required values:
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL=

# Clerk
# https://docs.clerk.dev/
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

# Upstash
# https://upstash.com/
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
  1. Start the development server:
npm run dev
  1. Navigate to http://localhost:3000 in your browser.

Deployment

The application can be deployed using any cloud platform that supports Node.js applications. Some popular options include:

Credits

This project was created by T3.gg.

About

Chirp is a social media application built with Next.js, trpc, TypeScript, and Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published