url - https://test-msg-f5587.web.app/
-
create new project to firebase website
-
add web project
-
cloud messaging tab => generate key pair
-
index.html => getToken(Key is here)
go mod tidy
go run back/main.go
$ npm i firebase
$ npm install -g firebase-tools
$ firebase login
$ firebase init
$ firebase deploy
$ firebase use --add
$ firebase serve -p 8081