GitXplorerGitXplorer
t

mapkitjs-worker

public
4 stars
2 forks
5 issues

Commits

List of commits on branch main.
Verified
84e419753179c41d31860f8824b5118e4dfc9026

Merge pull request #189 from tsekityam/dependabot/npm_and_yarn/types/node-16.6.0

ttsekityam committed 3 years ago
Verified
1cb9cd35e1c2110f6244d4e51f346d7521d382a7

Merge pull request #190 from tsekityam/dependabot/npm_and_yarn/itty-router-2.4.2

ttsekityam committed 3 years ago
Verified
96430c4e97df813843d1bc7f6656890b602b0cfa

Change to use SPDX license identifier

ttsekityam committed 3 years ago
Verified
13eedfa0c0e0f9edc8aa8f84afa5216dfc9a149e

Bump itty-router from 2.4.0 to 2.4.2

ddependabot[bot] committed 3 years ago
Verified
80feca302cd0437da4e89639a8ecb71cb724fd42

Bump @types/node from 16.4.13 to 16.6.0

ddependabot[bot] committed 3 years ago
Unverified
5c148f9b6ff5852399208013216328fe1433a10a

Avoid suggesting incompatible ts-loader

ttsekityam committed 3 years ago

README

The README file for this repository.

MapKit JS Worker

Deploy FOSSA Status

Cloudflare Workers that generate JWT for MapKit JS.

It contains two routes:

  • /services/jwt, an API endpoint that returns JWT for MapKit JS.
  • /, a simple Apple Maps application, demostrating how to use the API above.

How to use

This repository use GitHub Actions to deploy the service to Cloudflare Workers

  1. Upload your Cloudflare API token to CF_API_TOKEN in GitHub repository secret

  2. Upload your MapKit Key to MAPKIT_PRIVATE_KEY in GitHub repository secret

  3. Replace my Cloudflare CF_ACCOUNT_ID with yours in .github/workflows/main.yml

  4. Replace my Cloudflare CF_ZONE_ID with yours in .github/workflows/main.yml

  5. Replace my MapKit JS KEY_ID with yours in wrangler.toml

  6. Replace my Apple Developer TEAM_ID with yours in wrangler.toml

  7. Replace my routes ROUTES with yours in wrangler.toml

  8. Replace my domain ORIGIN with yours in wrangler.toml

Once you commit the changes to GitHub, GitHub Actions should be triggered and deploy the services to Cloudflare Workers

References

License

FOSSA Status