项目
在 GitHub 查看
adrianocola/spyfall
关于
Simple website implementation of the card game Spyfall
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文spyfall
React + Firebase implementation for the card game Spyfall
Localizations
Access crowdin's page to request new translations or help translating existing ones.
Running the project (locally)
- Install node.js
- Clone this project, enter the cloned folder and install dependencies with
npm install - Open a terminal and run the command
npm run emulator - Open another terminal and run the command
npm run dev-emulator - Access it at
http://localhost:5173
Running the project (deploy fo Firebase)
- Install node.js
- Clone this project, enter the cloned folder and install dependencies with
npm install - Login to firebase with
npx firebase login - Setup a new firebase project with the
npx firebase initcommand and follow the instructions (select only the featuredatabase. Use the default values for everything and don't overwrite anything) - Create a new web app with the command
npx firebase apps:create WEB. The command will output the createdApp Id - Execute the command
npx firebase apps:sdkconfig WEB <created app id>to get the complete app configuration - Create a copy of the file
.env.samplenamed.env.developmentand fill it with the firebase configuration. You don't need to fill all fields. - Access your firebase project in the firebase console and enable anonymous authentication (Authentication → Sign-in method → Anonymous)
- Deploy firebase database security rules
npx firebase deploy --only database - Run the project with
npm run devand access it athttp://localhost:5173
探索相关项目
加载中…