An open API service indexing awesome lists of open source software.

https://github.com/emanuelefavero/nextjs-app-router-blog

A simple blog built with NextJS 13 App Router and Typescript to show its features
https://github.com/emanuelefavero/nextjs-app-router-blog

app-router blog nextjs nextjs13 server-components server-side-rendering static-site-generator typescript

Last synced: 18 days ago
JSON representation

A simple blog built with NextJS 13 App Router and Typescript to show its features

Awesome Lists containing this project

README

        

# NextJS App Router Blog

> Note: This is the Next.js 13 App Router version of the [NextJS Blog App](https://github.com/emanuelefavero/nextjs-blog)

A simple blog built with NextJS 13 App Router and Typescript to show its features

## Demo

[https://nextjs-blog-typescript-rho.vercel.app/](https://nextjs-blog-typescript-rho.vercel.app/)

#### Screenshot

screenshot

## Run App Locally

- clone repo
- `cd` into repo
- run `npm install`
- run `npm run dev`

## **Typescript in NextJS**

- [NextJS Typescript Cheat Sheet](https://github.com/emanuelefavero/nextjs-typescript)
- [NextJS Typescript Docs](https://nextjs.org/docs/basic-features/typescript)

> Note: Since this app is built using Next.js 13 App Router, please refer to newer Typescript docs for Next.js 13

#### Create a new NextJS App with TypeScript and ESLint

- `npx create-next-app APP-NAME --typescript --eslint`

## Features

- Use markdown files to create blog posts
- Parse markdown files using `gray-matter` and `remark`
- Display blog posts on home page and on their own page
- Sort blog posts by date
- Style blog posts using TailwindCSS and Sass

## Technologies used in this project

- [**Next.js App Router Docs**](https://nextjs.org/docs/app)
- [Typescript](https://www.typescriptlang.org/)
- [React](https://reactjs.org/)
- [TailwindCSS](https://tailwindcss.com/)
- [Sass](https://sass-lang.com/)
- [postcss](https://postcss.org/)
- [autoprefixer](https://www.npmjs.com/package/autoprefixer)
- [date-fns](https://date-fns.org/)
- [gray-matter](https://www.npmjs.com/package/gray-matter)
- [remark](https://www.npmjs.com/package/remark)

 

---

 

[**Go To Top   ⬆️**](#demo)