Node.js/Express Backend for Junction X Seoul 2021with AutoCrypt
API Description (Korean)
-
Get
.p8
key file from Apple developer website -
Fill out .env file to provide proper environmental variables in
.env.example
- DEVICE_TOKEN
- Sample device token for push notification test
- KEY_ID
- Key id to send push notification
- KEY_PATH
- Key file to send push notification
path/to/APNsAuthKey_XXXXXXXXXX.p8
- AZURE_KEY
- Refer to Microsof Azure Document to get your key
- AZURE_ENDPOINT
- Refer to Microsof Azure Document to get proper endpoint
- TEAM_ID
- Developer team id to send push notification
- BUNDLE_ID
- Bundle identifier of IOS frontend
- LANGUAGE
kor
oreng
to change language preference
- DEVICE_TOKEN
-
Install dependencies
npm i
-
Run the server
npm run dev