Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

NextJS + Contentful Typescript Starter kit with Static Export ๐Ÿš€

License

Notifications You must be signed in to change notification settings

apideck-io/blog

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Netlify Status

Next JS Static starter-kit

by @techhive.IO

Table of Content

Getting Started

git clone https://github.com/techhiveIO/nextjs-static-boilerplate.git my-project
cd my-project
rm -r .git
cp .env.example .env
npm run dev

Make sure you enter the correct values in your .env file:

CONTENTFUL_SPACE=<your contentful space>
CONTENTFUL_TOKEN=<your contentful token>
PUBLIC_DOMAIN=<your domain name>

Useful Commands

  • dev - start application in development mode
  • build - build application in production mode
  • start - start application in production mode
  • export - build and export application into a static website
  • postexport - runs the post-export.js script, creates the sitemap.xml
  • type-check- type checking for typescript
  • format:write - runs prettier to format whole code base (.ts and .css)
  • lint - lints project using eslint,
  • populate:contentful - populates Contentful CMS

Goals

Developers often want a good starting point when implementing a new website. With this starter kit, the developer can implement a new blog, or use it as a inspiration to build any static website using NextJS.

Features

  • Next.Js with Typescript support out of the box
  • Static Export out of the box
  • Contentful Integration with scripts to automatically populate your CMS
  • Easy integration and Deployment over Netlify and Zeit Now
  • Custom components
  • SEO friendly, with dynamic meta tags
  • Google Analytics
  • Optimized for speed and scalability
  • Relevant Suggestions for every blog post

Stack

Learning Materials

How to build a powerful blog with NextJS and Contentful

Making your blog smarterโ€Š-โ€ŠHow to implement suggestions

Bugs

Please make sure you fill in the appropriate fields when submitting an issue. Our team will try to resolve it as soon as possible

Contributors

Want to start contributing to open source with Next.Js ?

Leave your mark and join the growing team of contributors!

Get started by checking out list of open issues and reading Contributor Guide

Abdul Rahman Zantout
Abdul Rahman Zantout

๐Ÿ’ป ๐Ÿ“– โš ๏ธ ๐ŸŽจ ๐Ÿ“
Ali El-Obaji
Ali El-Obaji

๐Ÿ’ป ๐Ÿ“– โš ๏ธ ๐ŸŽจ ๐Ÿ“

License

NextJS Static Starter is ยฉ 2019 Techhive.IO LLC . It is distributed under the Creative Commons Attribution License.

The names and logos for techhive.io are trademarks of techhive.io LLC.

About

NextJS + Contentful Typescript Starter kit with Static Export ๐Ÿš€

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 51.0%
  • JavaScript 32.7%
  • CSS 16.3%