Skip to content

lonelyprogrammer007/automated-database-doc-notion-integration

Repository files navigation

Notion Documentation Generator

Ask DeepWiki

This project is a web application that automatically generates documentation for your Notion databases. Provide a Notion Page ID, and the application will fetch all the databases on that page and display their schema, including properties, formulas, and relations.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/your-repo-name.git
  2. Navigate to the project directory:
    cd automated-doc-notion-api
  3. Install the dependencies:
    npm install

Usage

  1. Create a .env file in the root of the project and add your Notion API key:
    NOTION_API_KEY=your_notion_api_key
    
  2. Start the application:
    npm start
  3. Open your browser and go to http://localhost:3000.
  4. Enter the Notion Page ID of the page containing the databases you want to document and click "Generate".

Dependencies

  • @notionhq/client: Official Notion API client
  • cookie-parser: Parse cookie header and populate req.cookies
  • debug: A tiny JavaScript debugging utility
  • dotenv: Loads environment variables from a .env file
  • ejs: Embedded JavaScript templating
  • express: Fast, unopinionated, minimalist web framework for Node.js
  • http-errors: Create HTTP errors for Express, Koa, etc.
  • morgan: HTTP request logger middleware for node.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •