Skip to content

hasham-qaiser/next14-blog

Repository files navigation

Next.js 14 Blog

Next.js 14 powered blog. This project is a modern, fast, and responsive web application designed to deliver content beautifully and efficiently. Leveraging the latest features from Next.js 14, Tailwind CSS for styling, and Sanity.io as the Content Management System (CMS).

Features

  • Next.js 14: Utilizes the cutting-edge features of Next.js 14, including:
    • Built-in Caching: Enhances performance by caching pages and static assets at the edge, reducing load times significantly.
    • Dynamic Routes: Offers flexible routing mechanisms, allowing for the creation of SEO-friendly URLs based on our content from Sanity.
    • Automatic Image Optimization: Integrated image component that optimizes and serves images in modern formats for faster page loads.
    • Middleware: Leverages Next.js middleware for tasks like SEO enhancements and redirect handling directly on the server side.
    • Incremental Static Regeneration (ISR): Updates static content without rebuilding the entire site, ensuring content is fresh while maintaining blazing fast speeds.
  • Shadcn: Implements Shadcn, a robust UI component library, to create intuitive and beautiful user interfaces.
  • Tailwind CSS: Employs Tailwind CSS for custom styling, enabling responsive design and a consistent look and feel across the blog.
  • Sanity CMS: Integrates with Sanity.io to manage blog content seamlessly, providing a powerful and flexible backend for content operations.

Getting Started

To get this project up and running on your local machine, follow these simple steps.

Installation

  1. Clone the repository:
git clone https://github.com/hasham-qaiser/next14-blog
  1. Navigate into the project directory:
cd next14-blog
  1. Install dependencies:
npm install
  1. Set up your environment variables by creating a .env.local file with your Sanity project credentials and other necessary configurations.

  2. Start the development server:

npm run dev

The application should now be running on http://localhost:3000.

License

This project is open-sourced under the MIT License. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published