Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhenghui-su/su-discord
PC based online service chat room
https://github.com/zhenghui-su/su-discord
Last synced: 9 days ago
JSON representation
PC based online service chat room
- Host: GitHub
- URL: https://github.com/zhenghui-su/su-discord
- Owner: zhenghui-su
- Created: 2024-06-14T14:52:25.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-20T17:22:22.000Z (3 months ago)
- Last Synced: 2024-08-20T19:49:16.235Z (3 months ago)
- Language: TypeScript
- Homepage: https://su-discord.vercel.app
- Size: 558 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduce
This project uses Nextjs 13, React,Socket.io,Prisma,Zustand,Tailwind,Shadcn-ui,MySQL,Clerk,Zod,ReactQuery,Uploadthing,LiveKit
After the git clone, create an `.env` file and add the following content:
> You need to add your own key and database connection address
```bash
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= your-clerk-key
CLERK_SECRET_KEY= your-clerk-key
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_SECRET=your-uploadthing-secret
UPLOADTHING_APP_ID=your-uploadthing-app-idLIVEKIT_API_KEY=your-livekit-api-key
LIVEKIT_API_SECRET=your-livekit-api-secretDATABASE_URL="mysql://your-name:your-password@host-address:port/database"
```## Getting Started
First, run the development server:
```bash
npx prisma generate
npx prisma db push
```These two commands will create a table and push it to a remote database
Second, you need to download and run according to your package manager:
```bash
# npm
npm install
npm run dev
# yarn
yarn
yarn run dev
# pnpm
pnpm install
pnpm run dev
```Now, you can view this project