Skip to content

This repo provides the foundation for any Notion API project that uses the JavaScript SDK, with an express server

Notifications You must be signed in to change notification settings

sitepoint-editors/notion-api-javascript-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotionAPI JavaScript Starter

This repo provides the foundation for any Notion API project that uses the JavaScript SDK.

This repo uses an express server for its back-end and you can change its specs on server.js but you should be ready to work with your data right off the bat!

Running the app

If you would like to run this project, you'll need to create a .env file in the root directory and inside it you should add your NotionAPI key and your Database ID like so

NOTION_API_KEY = [Here you should insert your key]
NOTION_API_DATABASE = [Here you should insert your key]

If you don't know how to get your key, go to developers.notion.com, press My Integrations, choose New Integration and once you fill all the info, you should get a Internal Integration Token.

If you don't know how to get your Database id, check the Where can I find my database's ID? of this NotionAPI doc

About

This repo provides the foundation for any Notion API project that uses the JavaScript SDK, with an express server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.5%
  • CSS 21.5%
  • HTML 18.0%