Skip to content

kaleb110/blog-nextjs-sanity

Repository files navigation

Blog app

Meals Website

A modern and minimalist blog application built with vision for customizablity and scalablity.

Features

  • View real time live blog posts
  • Search for posts by tag
  • dark/light theme
  • more features can be added or customized

Tech Stack

  • Frontend: Next.js for SEO and better performance
  • Styling: Tailwind CSS for easier styling
  • Backend CMS: Sanity as a CMS service
  • State Management: Zustand for state managment
  • Typescript: for type validation

Getting Started

To get started, follow these steps:

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/kaleb110/blog-app.git
    cd blog-nextjs-sanity
    
  2. Install Dependancies

    npm install
    
  3. Configure environment variables

    Create a .env.local file in the root directory of your project and add the following variables:

    SANITY_PROJECT_ID=your-sanity-project-id
    SANITY_API_TOKEN=your-sanity-api-token
    
  4. Run the development server

    npm run dev
    

The app will be available at http://localhost:3000.