From 7bb8704c674cfe68749a07b1bafee99488ab607d Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 17 Apr 2025 23:15:50 +0300 Subject: [PATCH 01/11] Create README.md --- README.md | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a443365 --- /dev/null +++ b/README.md @@ -0,0 +1,179 @@ +

+

GamePlatform

+

+

+ 🌟 Explore the docs » +

+ πŸ› Report Bug + . + ✨ Request Feature +

+

+ +## πŸ“– Table of Contents + +1. [πŸ“˜ About The Project](#about-the-project) +2. [πŸš€ Getting Started](#getting-started) + - [πŸ“‹ Environment Configuration](#env) + - [πŸ“‹ Prerequisites](#prerequisites) + - [βš™οΈ Installation](#installation) + - [πŸ› οΈ Usage](#usage) +3. [πŸ“· Screenshots](#screenshots) +4. [πŸ“¦ Dependencies](#dependencies) +5. [🀝 Contributing](#contributing) +6. [πŸ“ž Contact](#contact) +7. [πŸ“Œ Important Versions](#important-versions) + +## πŸ“˜ About The Project + +This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game "Tombala" (Bingo). + +GamePlatform is a gaming platform that currently includes one game: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. + +Once a lobby is created, the host can start the game, and all players will be navigated to the game screen. The first player to get Bingo wins the game. + +For the full experience, download and try out the app! +
+ +
+### πŸ“· Screenshots +
+
+ +Screenshot 1 +Screenshot 2 +Screenshot 3 +Screenshot 4 +Screenshot 5 + +
+
+ +
+ +## πŸš€ Getting Started + +To get a local copy up and running, follow these simple steps. + +### πŸ“‹ Prerequisites + +Ensure you have the following software installed: +- [Node.js](https://nodejs.org/) (v22.14.0) 🟒 +- npm (v10.2.4 or later) or Yarn 🧢 + +This project was bootstrapped with [Create React Native App](https://github.com/expo/create-react-native-app?tab=readme-ov-file). + + +## πŸ“„ Environment Configuration + +To run the server properly, create a .env file inside the server directory with the following structure: + ```bash +SECRET_KEY=your_secret_key_here +SESSION_SECRET=your_session_secret_here +HMAC_SECRET=your_hmac_secret_here +REFRESH_SECRET_KEY=your_refresh_secret_key_here + +EMAIL_USER=your_email@example.com +EMAIL_PASS=your_email_password + ``` + +### βš™οΈ Installation + +1. Clone the repository: + ```bash + git clone https://github.com/FatihArslan-cmd/GamePlatform-Toyota32Bit.git + ``` +2. Navigate to the project directory: + ```bash + cd GamePlatform-Toyota32Bit + ``` +3. Navigate to the packages directory and clone the Bingo submodule: + ```bash + cd packages + git clone https://github.com/FatihArslan-cmd/Bingo.git + ``` +4. Return to the root directory and install dependencies: + ```bash + yarn install + ``` +5. Start Server: + ```bash + cd server + node .\server.js + ``` +6. Start the project: + ```bash + yarn gamecenter + ``` + +
+ + +## 🀝 Contributing + +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +To contribute: + +1. Fork the Project +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) +3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) +4. Push to the Branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request +
+ +
+ +## πŸ“¦ Dependencies + + "@notifee/react-native": "^9.1.8", + "@react-native-clipboard/clipboard": "^1.15.0", + "@react-native-community/blur": "^4.4.1", + "@react-native-community/datetimepicker": "^8.2.0", + "@react-native-community/netinfo": "^6.0.6", + "@react-native-firebase/app": "^21.7.2", + "@react-native-firebase/messaging": "^21.7.2", + "@react-native-masked-view/masked-view": "^0.3.2", + "@react-navigation/material-top-tabs": "^7.1.0", + "@react-navigation/native": "^7.0.14", + "@react-navigation/native-stack": "^7.2.0", + "@shopify/flash-list": "^1.7.2", + "@shopify/react-native-skia": "^1.7.6", + "axios": "^1.7.9", + "bingo": "file:../Bingo", + "i18next": "^24.2.3", + "lottie-react-native": "^7.1.0", + "react": "18.3.1", + "react-content-loader": "^7.0.2", + "react-i18next": "^15.4.1", + "react-native": "0.76.5", + "react-native-bootsplash": "^6.3.2", + "react-native-fast-image": "^8.6.3", + "react-native-gesture-handler": "^2.21.2", + "react-native-image-picker": "^8.0.0", + "react-native-linear-gradient": "^2.8.3", + "react-native-mmkv": "^3.2.0", + "react-native-pager-view": "^6.6.1", + "react-native-paper": "^5.12.5", + "react-native-qrcode-skia": "^0.3.1", + "react-native-qrcode-svg": "^6.3.14", + "react-native-reanimated": "^3.16.6", + "react-native-safe-area-context": "^5.0.0", + "react-native-screens": "^4.4.0", + "react-native-sound": "^0.11.2", + "react-native-svg": "^15.10.1", + "react-native-tts": "^4.1.1", + "react-native-vector-icons": "^10.2.0", + "react-native-vision-camera": "^4.6.3" + +### πŸ“Œ Important Versions + "react-native": "0.76.5", + "node": v22.14.0 + "npm": 10.9.2 + "yarn": 1.22.22 + "JDK": 17.0.10 +
+ +## πŸ“ž Contact + +**Fatih Arslan** - *Software Engineering Student* - [Fatih Arslan](https://github.com/FatihArslan-cmd) From e2621d18922deb05bf37ad54f28bbaf4a9e95fd8 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 17 Apr 2025 23:24:14 +0300 Subject: [PATCH 02/11] Update README.md --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a443365..0e883c6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@

GamePlatform

-

+
🌟 Explore the docs » -

+
πŸ› Report Bug . ✨ Request Feature @@ -14,8 +14,8 @@ 1. [πŸ“˜ About The Project](#about-the-project) 2. [πŸš€ Getting Started](#getting-started) - - [πŸ“‹ Environment Configuration](#env) - [πŸ“‹ Prerequisites](#prerequisites) + - [πŸ“‹ Environment Configuration](#env) - [βš™οΈ Installation](#installation) - [πŸ› οΈ Usage](#usage) 3. [πŸ“· Screenshots](#screenshots) @@ -24,22 +24,27 @@ 6. [πŸ“ž Contact](#contact) 7. [πŸ“Œ Important Versions](#important-versions) -## πŸ“˜ About The Project +## πŸ“˜ About The Project. -This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game "Tombala" (Bingo). +This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game Tombala (Bingo). GamePlatform is a gaming platform that currently includes one game: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. Once a lobby is created, the host can start the game, and all players will be navigated to the game screen. The first player to get Bingo wins the game. +The backend is developed using Express.js and handles real-time communication using WebSocket. All runtime data such as active lobbies, players, and game states are stored in MemoryStore, meaning the data is kept in memory during server uptime and is not persisted after restarts. + +πŸ”— Check out the Tombala (Bingo) game on GitHub: +Tombala GitHub Repository + For the full experience, download and try out the app!



-### πŸ“· Screenshots -
+## πŸ“· Screenshots
+Screenshot 1 Screenshot 1 Screenshot 2 Screenshot 3 @@ -51,10 +56,6 @@ For the full experience, download and try out the app!
-## πŸš€ Getting Started - -To get a local copy up and running, follow these simple steps. - ### πŸ“‹ Prerequisites Ensure you have the following software installed: @@ -76,6 +77,9 @@ REFRESH_SECRET_KEY=your_refresh_secret_key_here EMAIL_USER=your_email@example.com EMAIL_PASS=your_email_password ``` +## πŸš€ Getting Started + +To get a local copy up and running, follow these simple steps. ### βš™οΈ Installation @@ -156,7 +160,6 @@ To contribute: "react-native-pager-view": "^6.6.1", "react-native-paper": "^5.12.5", "react-native-qrcode-skia": "^0.3.1", - "react-native-qrcode-svg": "^6.3.14", "react-native-reanimated": "^3.16.6", "react-native-safe-area-context": "^5.0.0", "react-native-screens": "^4.4.0", From f76fd3e5ad5dbcfd130bc77b8f58c18720dccf6f Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 17 Apr 2025 23:27:35 +0300 Subject: [PATCH 03/11] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0e883c6..8679c7f 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ For the full experience, download and try out the app! Screenshot 3 Screenshot 4 Screenshot 5 +Screenshot 5 +Screenshot 5 +Screenshot 5

From d8f850994e006ef8422fe5257ada692aeacea064 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 15 May 2025 19:03:08 +0300 Subject: [PATCH 04/11] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8679c7f..2d30656 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ EMAIL_PASS=your_email_password To get a local copy up and running, follow these simple steps. ### βš™οΈ Installation - +It is recommended to install the project in a directory close to the system root (e.g., C:\GamePlatform on Windows) to avoid potential issues with long file paths, especially on Windows. 1. Clone the repository: ```bash git clone https://github.com/FatihArslan-cmd/GamePlatform-Toyota32Bit.git @@ -115,6 +115,8 @@ To get a local copy up and running, follow these simple steps.
+🚨 Troubleshooting +react-native-reanimated Errors: If you encounter build errors or runtime issues specifically mentioning react-native-reanimated, try stopping the bundler (if it's running) and running the start command (yarn gamecenter) again. This can sometimes resolve caching or linking issues. ## 🀝 Contributing From 7801096411561ebd1fe163c6d47f38e6b6ec7b61 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 22 May 2025 22:11:13 +0300 Subject: [PATCH 05/11] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2d30656..c163322 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game Tombala (Bingo). -GamePlatform is a gaming platform that currently includes one game: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. +GamePlatform is a gaming platform that currently includes 2 games: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. Once a lobby is created, the host can start the game, and all players will be navigated to the game screen. The first player to get Bingo wins the game. @@ -98,6 +98,7 @@ It is recommended to install the project in a directory close to the system root ```bash cd packages git clone https://github.com/FatihArslan-cmd/Bingo.git + git clone https://github.com/FatihArslan-cmd/Fall-Panic.git ``` 4. Return to the root directory and install dependencies: ```bash @@ -106,6 +107,7 @@ It is recommended to install the project in a directory close to the system root 5. Start Server: ```bash cd server + npm install node .\server.js ``` 6. Start the project: @@ -137,7 +139,6 @@ To contribute: "@notifee/react-native": "^9.1.8", "@react-native-clipboard/clipboard": "^1.15.0", - "@react-native-community/blur": "^4.4.1", "@react-native-community/datetimepicker": "^8.2.0", "@react-native-community/netinfo": "^6.0.6", "@react-native-firebase/app": "^21.7.2", @@ -149,7 +150,8 @@ To contribute: "@shopify/flash-list": "^1.7.2", "@shopify/react-native-skia": "^1.7.6", "axios": "^1.7.9", - "bingo": "file:../Bingo", + "bingo": "file:../Bingo", + "fall-panic": "file:../Fall-Panic", "i18next": "^24.2.3", "lottie-react-native": "^7.1.0", "react": "18.3.1", @@ -164,7 +166,7 @@ To contribute: "react-native-mmkv": "^3.2.0", "react-native-pager-view": "^6.6.1", "react-native-paper": "^5.12.5", - "react-native-qrcode-skia": "^0.3.1", + "react-native-qrcode-svg": "^6.3.14", "react-native-reanimated": "^3.16.6", "react-native-safe-area-context": "^5.0.0", "react-native-screens": "^4.4.0", From 2f267b394b028b68de60cfef390d6fcd1d4537bd Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 22 May 2025 22:12:55 +0300 Subject: [PATCH 06/11] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c163322..2d38a44 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ The backend is developed using Express.js and handles real-time communication us πŸ”— Check out the Tombala (Bingo) game on GitHub: Tombala GitHub Repository +πŸ”— Check out the Fall Panic game on GitHub: +Fall Panic GitHub Repository For the full experience, download and try out the app!
From 35f90f025cca6be5ee0884c9209f75a0fdcd68b8 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 29 May 2025 16:51:31 +0300 Subject: [PATCH 07/11] Update README.md --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2d38a44..b321718 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ ## πŸ“˜ About The Project. -This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game Tombala (Bingo). +This project was developed using a monorepo structure with Lerna. GamePlatform is built with React Native and includes submodules such as the game Tombala (Bingo) , Fall Panic. -GamePlatform is a gaming platform that currently includes 2 games: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. +GamePlatform is a gaming platform that currently includes 2 games: Tombala. To get started, launch the server and log into the app. You can create or join a lobby, add friends using a barcode or code, and exchange private messages via WebSocket. Group messaging is also supported. Firebase cloud messaging integrated. It has been used in various places. Once a lobby is created, the host can start the game, and all players will be navigated to the game screen. The first player to get Bingo wins the game. @@ -39,11 +39,10 @@ The backend is developed using Express.js and handles real-time communication us πŸ”— Check out the Fall Panic game on GitHub: Fall Panic GitHub Repository -For the full experience, download and try out the app!

-## πŸ“· Screenshots +## πŸ“· Screenshots
Screenshot 1 @@ -65,10 +64,8 @@ For the full experience, download and try out the app! Ensure you have the following software installed: - [Node.js](https://nodejs.org/) (v22.14.0) 🟒 -- npm (v10.2.4 or later) or Yarn 🧢 - -This project was bootstrapped with [Create React Native App](https://github.com/expo/create-react-native-app?tab=readme-ov-file). - +- Npm (v10.2.4 or later) or Yarn +- Jdk 17.0.12 ## πŸ“„ Environment Configuration @@ -79,6 +76,7 @@ SESSION_SECRET=your_session_secret_here HMAC_SECRET=your_hmac_secret_here REFRESH_SECRET_KEY=your_refresh_secret_key_here +//If you dont want to use reset password no need to change it EMAIL_USER=your_email@example.com EMAIL_PASS=your_email_password ``` @@ -96,7 +94,7 @@ It is recommended to install the project in a directory close to the system root ```bash cd GamePlatform-Toyota32Bit ``` -3. Navigate to the packages directory and clone the Bingo submodule: +3. Navigate to the packages directory and clone the Bingo and Fall Panic submodule: ```bash cd packages git clone https://github.com/FatihArslan-cmd/Bingo.git @@ -106,13 +104,16 @@ It is recommended to install the project in a directory close to the system root ```bash yarn install ``` -5. Start Server: +5. Go to `packages\GameCenter\src\utils\baseUrl.js`. Change `export const baseURL`. If testing on a **physical device**, set it to `"x.x.x.x:3000"` (replace x.x.x.x with your local IP); otherwise, + set it to `"10.0.2.2:3000"`. + +6. Start Server: ```bash cd server npm install node .\server.js ``` -6. Start the project: +7. Start the project (First build may take a while): ```bash yarn gamecenter ``` From 66d6ebfbacb81a71fdb5dd09e2619165edc59a31 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sat, 7 Jun 2025 21:58:30 +0300 Subject: [PATCH 08/11] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b321718..ab4a462 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,13 @@ EMAIL_PASS=your_email_password To get a local copy up and running, follow these simple steps. +I have used two devices in Android Studio: + +Medium Phone (API 36) +Medium Tablet (API 36) + +with NDK enabled. + ### βš™οΈ Installation It is recommended to install the project in a directory close to the system root (e.g., C:\GamePlatform on Windows) to avoid potential issues with long file paths, especially on Windows. 1. Clone the repository: From 958151139adf823adccd0d6cff44995c73a37e88 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sun, 8 Jun 2025 17:03:43 +0300 Subject: [PATCH 09/11] Update README.md --- README.md | 78 +++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index ab4a462..87aef7c 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ It is recommended to install the project in a directory close to the system root
-🚨 Troubleshooting +## 🚨 Troubleshooting react-native-reanimated Errors: If you encounter build errors or runtime issues specifically mentioning react-native-reanimated, try stopping the bundler (if it's running) and running the start command (yarn gamecenter) again. This can sometimes resolve caching or linking issues. ## 🀝 Contributing @@ -147,44 +147,44 @@ To contribute: ## πŸ“¦ Dependencies - "@notifee/react-native": "^9.1.8", - "@react-native-clipboard/clipboard": "^1.15.0", - "@react-native-community/datetimepicker": "^8.2.0", - "@react-native-community/netinfo": "^6.0.6", - "@react-native-firebase/app": "^21.7.2", - "@react-native-firebase/messaging": "^21.7.2", - "@react-native-masked-view/masked-view": "^0.3.2", - "@react-navigation/material-top-tabs": "^7.1.0", - "@react-navigation/native": "^7.0.14", - "@react-navigation/native-stack": "^7.2.0", - "@shopify/flash-list": "^1.7.2", - "@shopify/react-native-skia": "^1.7.6", - "axios": "^1.7.9", - "bingo": "file:../Bingo", - "fall-panic": "file:../Fall-Panic", - "i18next": "^24.2.3", - "lottie-react-native": "^7.1.0", - "react": "18.3.1", - "react-content-loader": "^7.0.2", - "react-i18next": "^15.4.1", - "react-native": "0.76.5", - "react-native-bootsplash": "^6.3.2", - "react-native-fast-image": "^8.6.3", - "react-native-gesture-handler": "^2.21.2", - "react-native-image-picker": "^8.0.0", - "react-native-linear-gradient": "^2.8.3", - "react-native-mmkv": "^3.2.0", - "react-native-pager-view": "^6.6.1", - "react-native-paper": "^5.12.5", - "react-native-qrcode-svg": "^6.3.14", - "react-native-reanimated": "^3.16.6", - "react-native-safe-area-context": "^5.0.0", - "react-native-screens": "^4.4.0", - "react-native-sound": "^0.11.2", - "react-native-svg": "^15.10.1", - "react-native-tts": "^4.1.1", - "react-native-vector-icons": "^10.2.0", - "react-native-vision-camera": "^4.6.3" + "@notifee/react-native": "^9.1.8", + "@react-native-clipboard/clipboard": "^1.15.0", + "@react-native-community/datetimepicker": "^8.2.0", + "@react-native-community/netinfo": "^6.0.6", + "@react-native-firebase/app": "^21.7.2", + "@react-native-firebase/messaging": "^21.7.2", + "@react-native-masked-view/masked-view": "^0.3.2", + "@react-navigation/material-top-tabs": "^7.1.0", + "@react-navigation/native": "^7.0.14", + "@react-navigation/native-stack": "^7.2.0", + "@shopify/flash-list": "^1.7.2", + "@shopify/react-native-skia": "^1.7.6", + "axios": "^1.7.9", + "bingo": "file:../Bingo", + "fall-panic": "file:../Fall-Panic", + "i18next": "^24.2.3", + "lottie-react-native": "^7.1.0", + "react": "18.3.1", + "react-content-loader": "^7.0.2", + "react-i18next": "^15.4.1", + "react-native": "0.76.5", + "react-native-bootsplash": "^6.3.2", + "react-native-fast-image": "^8.6.3", + "react-native-gesture-handler": "^2.21.2", + "react-native-image-picker": "^8.0.0", + "react-native-linear-gradient": "^2.8.3", + "react-native-mmkv": "^3.2.0", + "react-native-pager-view": "^6.6.1", + "react-native-paper": "^5.12.5", + "react-native-qrcode-svg": "^6.3.14", + "react-native-reanimated": "^3.16.6", + "react-native-safe-area-context": "^5.0.0", + "react-native-screens": "^4.4.0", + "react-native-sound": "^0.11.2", + "react-native-svg": "^15.10.1", + "react-native-tts": "^4.1.1", + "react-native-vector-icons": "^10.2.0", + "react-native-vision-camera": "^4.6.3" ### πŸ“Œ Important Versions "react-native": "0.76.5", From e09f4c83f546e6ef3e06fdb27cb6058c067377c3 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sun, 8 Jun 2025 19:15:38 +0300 Subject: [PATCH 10/11] Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87aef7c..4f41533 100644 --- a/README.md +++ b/README.md @@ -114,13 +114,25 @@ It is recommended to install the project in a directory close to the system root 5. Go to `packages\GameCenter\src\utils\baseUrl.js`. Change `export const baseURL`. If testing on a **physical device**, set it to `"x.x.x.x:3000"` (replace x.x.x.x with your local IP); otherwise, set it to `"10.0.2.2:3000"`. -6. Start Server: +6. To enable push notifications (Not mandatory): + +Go to Firebase Console and select your project. +Navigate to Project Settings > Service Accounts. +Click β€œGenerate new private key” to download the JSON file. +Move the downloaded file into the server/firebase directory. + +Open server/firebase/firebaseAdmin.js and update the const serviceAccount path to point to the JSON file you just added. Example: +```bash +const serviceAccount = require("./your-firebase-adminsdk-file.json"); +``` + +7. Start Server: ```bash cd server npm install node .\server.js ``` -7. Start the project (First build may take a while): +8. Start the project (First build may take a while): ```bash yarn gamecenter ``` From bfd94d45671154ebd43784aacf22eb1522eb64f2 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sun, 8 Jun 2025 19:16:25 +0300 Subject: [PATCH 11/11] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4f41533..7d53fb4 100644 --- a/README.md +++ b/README.md @@ -116,14 +116,14 @@ It is recommended to install the project in a directory close to the system root 6. To enable push notifications (Not mandatory): -Go to Firebase Console and select your project. -Navigate to Project Settings > Service Accounts. -Click β€œGenerate new private key” to download the JSON file. -Move the downloaded file into the server/firebase directory. + Go to Firebase Console and select your project. + Navigate to Project Settings > Service Accounts. + Click β€œGenerate new private key” to download the JSON file. + Move the downloaded file into the server/firebase directory. -Open server/firebase/firebaseAdmin.js and update the const serviceAccount path to point to the JSON file you just added. Example: + Open server/firebase/firebaseAdmin.js and update the const serviceAccount path to point to the JSON file you just added. Example: ```bash -const serviceAccount = require("./your-firebase-adminsdk-file.json"); + const serviceAccount = require("./your-firebase-adminsdk-file.json"); ``` 7. Start Server: