Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marienmupenda/fcm-token-generator
https://github.com/marienmupenda/fcm-token-generator
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/marienmupenda/fcm-token-generator
- Owner: MarienMupenda
- Created: 2023-09-05T08:25:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-03T21:15:47.000Z (over 1 year ago)
- Last Synced: 2024-10-14T14:42:11.842Z (3 months ago)
- Language: PHP
- Size: 257 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generate the FCM token
## 1. Add the server key to the .env file
```
FCM_SERVER_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXFIREBASE_API_KEY=
FIREBASE_PROJECT_ID=
FIREBASE_MESSAGING_SENDER_ID=
FIREBASE_MEASUREMENT_ID=
FIREBASE_APP_ID=
```## 2. Install the dependencies
```bash
composer install
npm install
vite build
```## 3. Run the appplication to generate the FCM token
```bash
php artisan serve
```## 4. Screenshot
![img.png](img.png)