kurosame / glossary

Glossary App with React
https://glossary-kurosame.firebaseapp.com
MIT License
5 stars 0 forks source link
circleci cypress ducks emotion eslint firebase glossary jest material-ui react react-hooks react-router redux redux-actions redux-saga service-worker stylelint typescript webpack

Glossary

Glossary

Deploy to Firebase Hosting is done on CircleCI

Technology stack

Usage(Local environment)

git clone https://github.com/kurosame/glossary.git
npm install

To run, create .env file then set the following

LOCAL_FIREBASE_API_KEY # Firebase api key for local
LOCAL_FIREBASE_APP_ID  # Firebase app id for local

Testing to push notification

After allowing push notifications, request like the following

curl -i -X POST \
  -H "Authorization:key=YOUR_FIREBASE_SERVER_KEY" \
  -H "Content-Type:application/json" \
  -d \
    '{
      "data": {
        "title":"test",
        "message":"test message"
      },
      "to": "YOUR_DEVICE_TOKEN"
    }' \
'https://fcm.googleapis.com/fcm/send'

License

MIT