Directory structure:
└── ltienphat1307-nextjs-sequelize-typescript/
├── README.md
├── index.ts
├── next-env.d.ts
├── next.config.js
├── nodemon.json
├── package.json
├── tsconfig.json
├── tsconfig.server.json
├── .babelrc
├── public/
│ └── styles/
│ ├── admin/
│ │ ├── app.css
│ │ └── bootstrap.css
│ └── client/
│ ├── app.css
│ └── reset.css
├── server/
│ ├── config/
│ │ └── index.ts
│ ├── models/
│ │ ├── index.ts
│ │ └── definitions/
│ │ ├── BaseModel.ts
│ │ ├── Category.ts
│ │ ├── Post.ts
│ │ ├── PostTagAssociation.ts
│ │ ├── Session.ts
│ │ ├── Tag.ts
│ │ └── User.ts
│ └── repositories/
│ ├── CategoryRepository.ts
│ ├── index.ts
│ ├── PostRepository.ts
│ └── UserRepository.ts
└── src/
├── d.ts
├── components/
│ ├── admin/
│ │ ├── Layout/
│ │ │ ├── index.tsx
│ │ │ ├── layout.module.scss
│ │ │ ├── Header/
│ │ │ │ ├── header.module.scss
│ │ │ │ ├── index.tsx
│ │ │ │ └── images/
│ │ │ │ └── PowerIcon.tsx
│ │ │ └── Sidebar/
│ │ │ ├── index.tsx
│ │ │ └── sidebar.module.scss
│ │ └── styles/
│ │ ├── theme.scss
│ │ └── variables.scss
│ └── client/
│ ├── Layout.tsx
│ ├── components/
│ │ ├── Blogs/
│ │ │ ├── CategoryHeader.tsx
│ │ │ ├── index.tsx
│ │ │ ├── PostCard.tsx
│ │ │ ├── PostContent.tsx
│ │ │ └── Tag.tsx
│ │ └── Navigation/
│ │ └── index.tsx
│ └── config/
│ └── siteConfig.ts
└── pages/
├── _app.tsx
├── about.tsx
├── index.tsx
├── admin/
│ ├── category.tsx
│ ├── index.tsx
│ └── post/
│ ├── create.tsx
│ └── index.tsx
├── api/
│ ├── hello.ts
│ └── admin/
│ ├── category.ts
│ └── post.ts
└── posts/
└── [slug].tsx