https://github.com/interjc/roll-invites
https://github.com/interjc/roll-invites
invitation lottery nuxt nuxt3 roll
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/interjc/roll-invites
- Owner: interjc
- Created: 2024-10-27T03:49:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-01T02:25:47.000Z (over 1 year ago)
- Last Synced: 2025-03-30T01:36:39.863Z (over 1 year ago)
- Topics: invitation, lottery, nuxt, nuxt3, roll
- Language: Vue
- Homepage: https://follow-invitation.zhaikr.com/
- Size: 239 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt 抽奖项目
本项目是一个基于 Nuxt 3 的简单抽奖应用。
## 环境配置
在运行项目之前,请确保正确配置 `.env` 文件。您可以参考 `.env.example` 文件来创建自己的 `.env` 文件。
需要配置的参数包括:
- `SECRET_CODE`: 中奖后显示的激活码
- `SECRET_INFO`: 关于激活码的附加信息
## 本地开发
执行以下命令即可启动本地开发环境:
```bash
./dev.sh
```
直接在浏览器中访问 `http://localhost:3000` 即可看到抽奖页面。
## 部署
直接按 Nuxt 官方文档的说明操作即可。可选的部署方式包括:
- 使用 Vercel
- 使用 Cloudflare Pages
- 使用 Docker