Skip to content
프로젝트

소개

A lightweight, modern social media platform built with Next.js 14

기타 프로젝트

이 수치를 측정하는 방법

What you can do

  • 🔐 Authentication - Secure user auth powered by Clerk
  • 📝 Posts - Create, edit, and delete posts with rich content
  • 💬 Comments - Engage in threaded discussions
  • ❤️ Likes - Like and unlike posts in real-time

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

🚀 SocialNext

A lightweight, modern social media platform built with Next.js 14

🌐 English | 中文

Next.js React TypeScript Tailwind Prisma PostgreSQL

Clerk UploadThing Radix UI

License Deploy


🎯 Overview

SocialNext is a full-featured social media platform designed for speed, simplicity, and scalability. Built with the modern web stack, it offers everything you need to launch your own social network in minutes.

✨ Features

Feature Description
🔐 Authentication Secure user auth powered by Clerk
📝 Posts Create, edit, and delete posts with rich content
💬 Comments Engage in threaded discussions
❤️ Likes Like and unlike posts in real-time
👥 Follow System Follow/unfollow users, build your network
🔔 Notifications Get notified for likes, comments, and follows
🖼️ Media Upload Image uploads via UploadThing
👤 Profiles Customizable user profiles with bios, locations, and more
🎨 Dark Mode Built-in dark/light theme support
📱 Responsive Mobile-first, works on all devices

🛠️ Tech Stack

Next.js 14 (App Router)     →  React Framework
TypeScript                  →  Type Safety
Tailwind CSS + shadcn/ui    →  Styling
Prisma + PostgreSQL         →  Database
Clerk                       →  Authentication
UploadThing                 →  File Uploads

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL database
  • Clerk account
  • UploadThing account

1. Clone & Install

git clone https://github.com/yourusername/socialnext.git
cd socialnext
npm install

2. Environment Setup

Create a .env.local file:

# Database
DATABASE_URL="postgresql://user:password@localhost:5432/socialnext"

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/

# UploadThing
UPLOADTHING_TOKEN=...

3. Database Setup

npx prisma generate
npx prisma db push

4. Run Development Server

npm run dev

Open http://localhost:3000 🎉

📦 Deployment

Deploy with Vercel

The easiest way to deploy is via Vercel. Don't forget to add your environment variables in the Vercel dashboard!

📝 License

MIT License - feel free to use this for your own projects!


Made with ❤️ using Next.js

⭐ Star this repo • 🐛 Report Bug • 🔀 Contribute

관련 프로젝트 살펴보기

불러오는 중…