Skip to content

EC-Sol/aws-lambda-fastify-notion-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify Notion Client Server for AWS Lambda

Dependencies

API description

GET /notion/page/:pageId

response: { pageId: string, recordMap: object }

  • Get recordMap from Notion docs.
  • recordMap is data for react-notion-x NotionRenderer.

Command

$ npm start: Local server start

Deploy AWS Lambda

  1. $ zip -r ../aws-lambda-fastify-notion-client.zip *
  2. To upload a .zip file on the Lambda console
    1. Open the Functions page on the Lambda console.
    2. Select a function.
    3. In the Code Source pane, choose Upload from and then .zip file.
    4. Choose Upload to select your local .zip file.
    5. Choose Save.
  3. Setting runtime Setting on Lambda console
    1. Click edit button on Lambda console
    2. Input lambda.handler on Handler input.

About

Fastify Notion Client Server for AWS Lambda

Resources

License

Stars

Watchers

Forks

Packages

No packages published