A simple blog built with NextJS 13 App Router and Typescript to show its features
NextJS App Router Blog is a simple blog built with NextJS 13 App Router and Typescript. It utilizes markdown files to create blog posts and includes features such as parsing markdown files, displaying blog posts on the home page and their own page, sorting blog posts by date, and styling blog posts using TailwindCSS and Sass.
Use markdown files to create blog posts: The blog allows users to create blog posts using markdown files, making it easy to create content with formatting.
Parse markdown files using gray-matter and remark: The app uses gray-matter and remark to parse markdown files, allowing for easy extraction of metadata and conversion of markdown to HTML.
Display blog posts on home page and on their own page: The blog posts are displayed on the home page in a list format, and users can also click on individual blog posts to view them on their own page.
Sort blog posts by date: The blog posts are sorted by date, allowing users to easily find the most recent posts.
Style blog posts using TailwindCSS and Sass: The blog posts are styled using TailwindCSS and Sass, allowing for easy customization of the appearance.
NextJS App Router Blog is a simple blog built with NextJS 13 App Router and Typescript. It allows users to create blog posts using markdown files and includes features such as parsing markdown files, displaying blog posts on the home page and their own page, sorting blog posts by date, and styling blog posts using TailwindCSS and Sass. It is easy to install and run locally, making it a practical choice for those looking to create a blog using NextJS.
Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.
Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.
Blog websites feature posts written by one or more authors, organized by categories and tags, with a section for comments and archives sorted by date or topic. Additional features may include search bar, social media sharing, subscription or RSS feed, about and contact pages, and visual content.
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.