Giter VIP home page Giter VIP logo

nuxt-notion-boilerplate's Introduction

nuxt-notion-boilerplate

This is a boilerplate for deploying a Notion blog using Nuxt to Netlify.

Notion Setup

Create a new database in Notion with the following columns:

  • Name (Title property)
  • Slug (Text property)
  • Author (Text property)

Create a new integration by going to Settings & Members > Integrations > Develop your own Integrations
You will need the Authorization Key to allow the Netlify functions to access your Notion database.

Netlify Setup

Go to Environment Variables in Netlify dashboard
Add a new 'CLIENT_TOKEN' variable and set its value to the Authorization Key from the Notion Integration
Add a new 'DATABASE_ID' and set its value to the ID of your database.

To deploy, either:

  • Connect the Netlify site to a Github repository for automatically deployments
  • Run npm run generate and netlify deploy using Netlify CLI

For more info
https://nuxtjs.org/deployments/netlify/
https://www.better.dev/getting-started-with-the-notion-api
https://developers.notion.com/

nuxt-notion-boilerplate's People

Contributors

dmdboi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.