munazo / next.js-website

Next.js website example using Cosmic JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js Website

Cosmic React Next ###View Demo ###Getting Started

git clone https://github.com/cosmicjs/next.js-website
cd next.js-website
yarn

####Run in development

yarn run development

####Run in production

COSMIC_BUCKET=your-bucket-slug yarn start

Open http://localhost:3000.

###Next.js + React + Cosmic JS You can easily manage the content in your Next.js website on Cosmic JS. Follow these steps:

  1. Log in to Cosmic JS.
  2. Create a Bucket.
  3. Go to Your Bucket > Apps.
  4. Install the Next.js Website.
  5. Deploy your Next.js Website to the Cosmic App Server at Your Bucket > Web Hosting.

###Benefits ####Next.js Next.js is a gift to the React community. Building React universal applications is not an easy task and the Next.js framework has greatly simplified the process. Some immediate benefits include:

  1. Less boilerplate for managing code reuse between server and client.
  2. Get up and going with your development environment instantly with hot-reloading.
  3. Simplified paging.

... see more on their GitHub page.

####Cosmic JS Cosmic JS is a perfect backend to manage your Next.js React Universal application.

  1. Query each page easily using the Cosmic JS NPM Module.
  2. No CMS boilerplate to configure, fast and easy setup.
  3. No updates or security updates required.

... see more on the Cosmic JS website.

About

Next.js website example using Cosmic JS


Languages

Language:JavaScript 100.0%