Giter Site home page Giter Site logo

next-notion-portfolio's Introduction

Next Notion Portfolio

A minimalist-focused portfolio website built on the capabilities of NextJS and Notion API, providing quick setup and easy configuration.

Demo Website

โœจ Features

  • Notion integration
  • Minimalist style
  • Accessibility, Performance and SEO 1
  • Easy Configuration
  • Supports all text-types.
  • RSS Feed for blog posts

๐Ÿš€ Getting Started

Clone project and install dependencies

Use git to clone the site:

git clone https://github.com/eneskutlay/website.git
cd website

and run npm install.

๐Ÿ› ๏ธ Notion Integration

Create an integration

  • Go to https://www.notion.com/my-integrations.
  • Click the "+ New integration" button.
  • Give your integration a name - I chose "Vacation Planner".
  • Select the workspace where you want to install this integration.
  • Select the capabilities that your integration will have.
  • Click "Submit" to create the integration.
  • Copy the "Internal Integration Token" on the next page and save it somewhere secure, e.g. a password manager.

gif

Create an Full Page Database

  • Start from a new or existing page in your workspace.
  • Insert a new database by typing /database and selecting Database - Full page
  • Give it a title. I called mine "Destinations". Click the โ€ขโ€ขโ€ข menu at the top right of the page, scroll to Add connections, and use the search bar to find the integration that you created. Click on your integration to give it access to your database.
  • Before moving on, you need the ID of the database you just created.
    Copy the URL of your Notion database. Make sure you're viewing the database as a full page
    • If you're using the Notion desktop app, click on the Share button and select Copy link.

https://www.notion.so/myworkspace/1ffe4fd3f5594744b0b9602d9afc4e70?v=...

Your link will look like the example above. The 32-character part before the ? is your databaseID.

  • Create a file named .env.local in the main directory of the project and add your Notion integration token to the first value and your database ID you just copied to the second value..
NOTION_TOKEN=
NOTION_DATABASE_ID=

gif

Change personal information

Visit lib/data.js file to edit your personal information.

๐Ÿƒ Run

Start the site by running npm run dev. Your site is now running at http://localhost:3000!

๐Ÿค” Questions or problems?

Easy, create an issue

Footnotes

  1. Based on the Chrome Lighthouse report. โ†ฉ

next-notion-portfolio's People

Stargazers

 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.