Skip to content

vgnshiyer/vgnshiyer.github.io

Repository files navigation

This website is the personal blog of Vignesh Iyer (vgnshiyer)

Buy Me A Coffee

Getting started

  1. Install npm
  2. Run npm install in project root dir.
  3. Run npm run dev to start developer server on localhost.

Project Structure

  • /app: main folder contains app routes (about, posts, tags)
  • /components: react components
  • /public/blogs: static blog content (markdown files)
  • /types: custom datatypes
  • /helpers: helper methods
  • /.github/workflows/nextjs.yml: cicd to deploy site to github pages

Help

  • New RSS feed is generate on every build using npm run build
  • /app/posts/[slug]/page.tsx -> is the file used for rendering all the static blog posts.
    • [slug] is a variable that is replaced with the slug param in the props for page.tsx.
  • Similar structure followed for tags.

License

This project is licensed under the MIT License - see the LICENSE.md file for details