club

时间:2024-04-01 13:57:58
【文件属性】:

文件名称:club

文件大小:136KB

文件格式:ZIP

更新时间:2024-04-01 13:57:58

TypeScript

访问club.danfo.store观看实时项目 设置项目 克隆此仓库 设置客户 cd client && yarn install 创建一个名为next.config.js的文件,并填写以下内容 module.exports = { env: { BASE_URL: 'http://your-api-base-url', }, }; 创建构建yarn build 启动客户端yarn start 设置API cd api && yarn install 创建一个.env文件并填写以下内容 PORT = your preferred port NODE_ENV=development AUTH_SECRET_KEY = any-string-will-do 使用数据库连接信息在api / config中编辑config.json,然后运行 sequelize-cli


【文件预览】:
club-main
----client()
--------package.json(1KB)
--------pages()
--------tsconfig.json(497B)
--------next-env.d.ts(75B)
--------.gitignore(386B)
--------components()
--------styles()
--------public()
--------actions()
--------yarn.lock(121KB)
----api()
--------models()
--------config()
--------package.json(1001B)
--------routes()
--------controllers()
--------migrations()
--------tsconfig.json(535B)
--------types.d.ts(130B)
--------.gitignore(23B)
--------yarn.lock(139KB)
--------index.ts(731B)
--------middlewares()
----.gitignore(97B)
----README.md(679B)

网友评论