Skip to content

Normative is a sleek and robust platform that lets you build a lightning-fast blog using Notion. Just set it up and let it run!

Notifications You must be signed in to change notification settings

normative-so/normative

Repository files navigation

Normative Project

Setup

  1. Get a Notion Integration ID:

  2. Set up Environment Variables:

    • Create a .env file in the root directory of the project.

    • Add your Notion Integration ID to the .env file:

      NOTION_TOKEN=your_integration_id_here
      
  3. Install Dependencies:

    • Run the following command to install the necessary dependencies:

      pnpm install
  4. Start the Server:

    • Run the following command to start the server:

      pnpm start

Usage

  • Get Database Details:
    • To get details of a database, use the following routes:

      http://localhost:3000/<database_id or database_alias>
      
    • To get details of a page, use the following routes:

      http://localhost:3000/<database_id or database_alias>/<page_id>
      

Make sure to replace database_id, database_alias, and page_id with the actual values.

License

This project is licensed under the MIT License.

About

Normative is a sleek and robust platform that lets you build a lightning-fast blog using Notion. Just set it up and let it run!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published