Next.js + Tailwind CSS + TypeScript + GraphQL + Apollo + GraphCMS
This repository comes with:
- ⚡️ Next.js 12
- ⚛️ React 17
- ✨ TypeScript
- 💨 Tailwind CSS 3 — Configured with CSS Variables to extend the primary color
- 💎 Hygraph (previously GraphCMS) — Headless Content Management System
Use this repository as template
It is encouraged to use yarn so the husky hooks can work properly.
yarn install
You can start the server using this command:
yarn dev
Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/pages/index.tsx
.
There are some things you need to change including title, urls, favicons, etc.
Don't forget to change the package name in package.json
This project is using conventional commits, it is mandatory to use it to commit changes.
- Use apollo client to fetch data
- Add type for GraphQL mutations
- Add type for GraphQL mutations
- Upgrade to Next.js 13
- Implement a loading UI
- Add pagination for blog posts
- Remove Image Banner from Blog Post
- Enable Search for Blog Posts
- Redesign Portfolio Page
- Refactor Portfolio Page to use GraphQL
- Add some cool animations