Coder Social home page Coder Social logo

nextjs-blog's Introduction

๐Ÿ”‹ Next.js SSG Headless Graphql Blog with Portfolio

Next.js + Tailwind CSS + TypeScript + GraphQL + Apollo + GraphCMS

Features

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

Getting Started

1. Clone this Project

Use this repository as template

2. Install dependencies

It is encouraged to use yarn so the husky hooks can work properly.

yarn install

3. Run the development server

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.

4. Change defaults

There are some things you need to change including title, urls, favicons, etc.

Don't forget to change the package name in package.json

5. Commit Message Convention

This project is using conventional commits, it is mandatory to use it to commit changes.

Development Roadmap

Code

  • 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

Blog

  • Add pagination for blog posts
  • Remove Image Banner from Blog Post
  • Enable Search for Blog Posts

Portfolio

  • Redesign Portfolio Page
  • Refactor Portfolio Page to use GraphQL

Index

  • Add some cool animations

nextjs-blog's People

Contributors

jiangdonghan avatar

Stargazers

 avatar YiXuan Wang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.