Giter VIP home page Giter VIP logo

buildkite-pipeline-test's Introduction

Vercel License: MIT contributions welcome

Next.js Blog Starter Kit with styled-components

This is a Blog starter kit built using Next.js 14 (with app router), styled-components and typescript.

Live Demo: https://nextjs-blog-styled.vercel.app/

Features

  • styled-components configuration with server-side rendering
  • Data sourcing for a blog post through Markdown files
  • Styling through Reusable components
  • Typescript and Eslint configuration
  • Uses Next.js latest App Router paradigm

How to use

Important

This application requires Node.js v18.17+.

Installation & running project

Execute create-next-app with npm or yarn to bootstrap this template or clone this repo:

npx create-next-app --example https://github.com/ajeetchaulagain/nextjs-blog-starter-styled-components my-blog

OR

git clone https://github.com/ajeetchaulagain/nextjs-blog-starter-styled-components.git my-blog

Install node_modules and run dev server:

cd my-blog
npm install
npm run dev

Your dev server should be up and running at http://localhost:3000

Usage Guide/Note

  • To add a blog post, add the new markdown file in /posts directory

    Note: To create a blog post remark and remark-html is used to convert the markdown files into HTML string, which is then passed to page as the props. And for the metadata, gray-matter is used.

  • For styling markdown post, base styles are setup in styles/MarkdownStyles.tsx. For styling other pages, a minimal set of re-usable components created in this project are used.

Deployment

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

buildkite-pipeline-test's People

Contributors

ajeetchaulagain 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.