Closed koistya closed 1 year ago
api
edge
edge/routes/api.ts
SENDGRID_API_KEY
FROM_EMAIL
NOTE: Cloudflare Worker script(s) need to remain lightweight. If you need to implement a full-featured API, take a look into kriasoft/relay-starter-kit → /api as an example (using Node.js, PostgreSQL, and GraphQL.js).
kriasoft/relay-starter-kit
/api
api
package intoedge
, seeedge/routes/api.ts
SENDGRID_API_KEY
,FROM_EMAIL
environment variablesNOTE: Cloudflare Worker script(s) need to remain lightweight. If you need to implement a full-featured API, take a look into
kriasoft/relay-starter-kit
→/api
as an example (using Node.js, PostgreSQL, and GraphQL.js).