# Lang-Sora
This is the case site for Sora AI videos. Use this template to help you quickly build a Sora AI case project.
> Sora AI's api is not available, all videos in lang-sora are from OpenAI official
[中文文档](./README_ZH.md)
The video data in the website comes from twitter, if you need to see the [lang-sora.sql](./lang-sora.sql) file
## Preview
[https://sora.langchat.cn](https://sora.langchat.cn)
![](imgs/MIK-viN5a0.png)
## Deploy with Vercel
## Document
This project is based on [T3 Stack](https://create.t3.gg/). If you want to have a deeper understanding of the project architecture,
you can read the official documentation.
The UI part is based on [DaisyUI](https://daisyui.com/) to quickly build a beautiful tailwind page
## Get Starter
1. clone project
```shell
git clone https://github.com/TyCoding/lang-sora.git
```
2. install dependencies
```shell
cd lang-sora
pnpm install
```
3. set database
Supports the use of postgres-type databases or related providers.
You can use the `start-database.sh` script in the project to quickly build the postgres database through docker,
Tips: The `start-database.sh` script will use the database login and password configuration in the `.env` file
```shell
## If you want to build postgres database using docker
./start-database.sh
## set database info
## edit `.env`
## Init database tables (base prisma, see `prisma/prisma.prisma`)
## This a build script
pnpm run db:push
## generate prisma table object
pnpm run postinstall
```
## Technology stack
- [Next.js](https://nextjs.org)
- [NextAuth.js](https://next-auth.js.org)
- [Prisma](https://prisma.io)
- [Drizzle](https://orm.drizzle.team)
- [Tailwind CSS](https://tailwindcss.com)
- [tRPC](https://trpc.io)
## How do I deploy this?
Follow our deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Sora AI 视频模版项目React全栈快速部署.zip (53个子文件)
Sora AI 视频模版项目React全栈快速部署
yarn.lock 120KB
prisma
schema.prisma 761B
lang-sora.sql 42KB
next.config.js 246B
.env.example 953B
src
trpc
shared.ts 813B
server.ts 2KB
react.tsx 1KB
app
dashboard
page.tsx 2KB
api
trpc
[trpc]
route.ts 976B
auth
[...nextauth]
route.ts 232B
_components
hero
index.tsx 2KB
common
alert
components
toast.tsx 1KB
assets.tsx 1010B
toaster.tsx 3KB
core
store.ts 2KB
toast.ts 1KB
types.ts 678B
styles.css 1KB
index.ts 100B
Copy.tsx 492B
Icon.tsx 4KB
layout
Header.tsx 1014B
Footer.tsx 2KB
video
index.tsx 561B
Card.tsx 1KB
download
index.tsx 262B
layout.tsx 976B
page.tsx 617B
video
[uuid]
page.tsx 3KB
styles
globals.css 173B
types
video.d.ts 366B
env.js 2KB
const
setting.ts 1KB
server
api
trpc.ts 3KB
root.ts 385B
routers
video.ts 847B
auth.ts 2KB
db.ts 474B
LICENSE 11KB
start-database.sh 1KB
README_ZH.md 3KB
postcss.config.cjs 85B
package.json 1KB
public
favicon.ico 8KB
tailwind.config.ts 322B
package-lock.json 190KB
prettier.config.js 183B
.eslintrc.cjs 1KB
.gitignore 597B
tsconfig.json 857B
imgs
MIK-viN5a0.png 4.14MB
README.md 2KB
共 53 条
- 1
资源评论
武昌库里写JAVA
- 粉丝: 3781
- 资源: 2932
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功