Skip to content

frontend210/nextjs-website-boilerplate

 
 

Repository files navigation

Next.js Website Boilerplate

nextjs-website-boilerplate A website template that satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search. Contributions welcome!

Demo

Click here to view the demo

Read how this app was built

Features

  1. Fully responsive down to mobile w/ Bootstrap frontend
  2. SEO ready
  3. A contact form that sends an email to your email(s) of choice and to Cosmic JS for easy reference
  4. Full-site search functionality
  5. All content is easily managed in Cosmic JS including pages, blog and contact info.

Sign up for Cosmic JS to install the demo content and deploy this website.

Getting Started

git clone https://github.com/cosmicjs/nextjs-website-boilerplate
cd nextjs-website-boilerplate
npm install

# Run in development and serve at localhost:3000
npm run dev

# build for production
npm run build

# Run in production and serve at localhost:3000
COSMIC_BUCKET=your-bucket-slug npm start

Configure

After you deploy your app, to add your MailGun credentials go to your Cosmic Bucket Dashboard and click Settings > Deploy Web App. Click 'Set Environment Variables' tab and add the following variables:

Key Value
MAILGUN_KEY your key
MAILGUN_DOMAIN your domain

About

A Next.js website boilerplate that satisfies some common website requirements.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • CSS 0.2%