百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SocialNext

> 编程语言
开源

--- 概述 SocialNext 是一款功能完备的社交媒体平台,旨在实现速度、简洁性和可扩展性。它基于现代 Web 技术构建,可提供高性能、高可用性和高可扩展性。

371 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

--- 概述 SocialNext 是一款功能完备的社交媒体平台,旨在实现速度、简洁性和可扩展性。它基于现代 Web 技术构建,可提供高性能、高可用性和高可扩展性。


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

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

2. Environment Setup

Create a .env.local file:

env
# 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

bash
npx prisma generate
npx prisma db push

4. Run Development Server

bash
npm run dev

Open http://localhost:3000

Deployment

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!


Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言