Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashishk1331/tetra-example

A Nextjs and Tailwind CSS starter template to try out Tetra Pack.
https://github.com/ashishk1331/tetra-example

Last synced: about 1 month ago
JSON representation

A Nextjs and Tailwind CSS starter template to try out Tetra Pack.

Awesome Lists containing this project

README

        

![Banner Image](https://raw.githubusercontent.com/ashishk1331/tetra-example/main/public/banner.png)

# Starter template for Tetra Pack

The template is made upon [Nextjs](https://nextjs.org/) and [Tailwind typography](https://tailwindcss.com/docs/typography-plugin)

## REPL Link
if you want to just try it out by running tetra pack on the cloud, [use this repl](https://replit.com/@AshishKhare4/Tetrapack-Example)

There you can just feed your keys for notion and see the results instantly!

## Usage

1. Clone the repository
```bash
git clone https://github.com/ashishk1331/tetra-example.git
```
1. Initialize all packages
```bash
npm install
```
1. Get your integration token from [notion developers](https://www.notion.so/my-integrations) dashboard.


1. Copy the Page ID of the notion page you want to render, from the share option at the top right corner.


PAGE ID = https://www.notion.so/Tetra-Pack-401aa30875db4f97b2d4e698b328ad45?pvs=4


This is your id = 401aa30875db4f97b2d4e698b328ad45


1. Now create a .env file at the root level, having all details.
```
NOTION_TOKEN =
NOTION_PAGE_ID =
```
1. Start the development server

```bash
npm run dev
```

For bugs and issues, or even suggestions, report them on this repo.