Skip to content

sitepoint-editors/notion-api-javascript-quiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotionAPI JavaScript Quiz

This project showcases one of the many possibilities of NotionAPI. Here I created an express server and connected to a database on Notion that has rows and columns with different info on it.

The end result is an interactable quiz with the info that we just fetch!

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

See it in action!

notionAPIJavascriptQuiz.mp4

About

A project that shows the connection between NotionAPI and a database and creates a quiz from it with user interaction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.1%
  • CSS 26.1%
  • HTML 10.8%