Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.37 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.37 KB

Moving Citizen Center - Backend

Node.js/Express Backend for Junction X Seoul 2021with AutoCrypt

API Description (Korean)

Steps to reproduce

  1. Get .p8 key file from Apple developer website

  2. 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
    • AZURE_ENDPOINT
    • TEAM_ID
      • Developer team id to send push notification
    • BUNDLE_ID
      • Bundle identifier of IOS frontend
    • LANGUAGE
      • kor or eng to change language preference
  3. Install dependencies

    npm i
  4. Run the server

    npm run dev