Skip to content
프로젝트

소개

Simple website implementation of the card game Spyfall

게임 및 에뮬레이션

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

spyfall

React + Firebase implementation for the card game Spyfall

Localizations

Crowdin

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 init command and follow the instructions (select only the feature database. 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 created App 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.sample named .env.development and 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 dev and access it at http://localhost:5173

관련 프로젝트 살펴보기

불러오는 중…