GithubHelp home page GithubHelp logo

thefinenft-art / buttercms-marketing-site-nextjs-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buttercms/buttercms-marketing-site-nextjs-react

0.0 0.0 0.0 1.2 MB

A CMS powered, SEO Optimized, Marketing Site powered by ButterCMS built on Next.js + React

License: MIT License

JavaScript 99.87% Shell 0.13%

buttercms-marketing-site-nextjs-react's Introduction

Build a marketing site using Next.js

This app demonstrates how you can build a marketing site using Next.js on the Front End and the API will be powered by ButterCMS. Next.js is a React.js framework which will do Server Side Rendering for you. As a result, your site will have better SEO score.

Preview

Demo

Please check out the Vercel demo at https://buttercms-marketing-site-nextjs-react.orlyohreally.vercel.app/.

Development

Step 1. Create an account on ButterCMS and create content

Register on ButterCMS and get your Read API Token which could be found on home or settings pages. To run the project for your own account you need to create pages and collections in Butter which are used in the application:

  • Marketing page with slug marketing-page and this structure - data for sections of the marketing page
  • General data page with slug general-data and this structure - general company data i.e. logo and name
  • Contact form page with slug contact-form and this structure - content for contact form
  • Main navigation links collection with slug main-navigation-links with this
  • Social links collection with slug social-links with this structure

Step 2. Clone and cd into the project

git clone https://github.com/ButterCMS/buttercms-marketing-site-nextjs-react
cd buttercms-marketing-site-nextjs-react

Step 3. Set up environment variable

Copy .env.sample file to .env file and set BUTTER_CMS_API_KEY as your Read Api Token

Step 4. Development

Running the project

yarn install
yarn dev

or

npm install
npm run dev

Building the app

yarn build

or

npm run build

Built With

  • Blue - Landing page template from Cruip.
  • Next.js - The React.js framework for building SSR web apps.
  • React - A JavaScript library for building user interfaces
  • Screely - Instantly turn your screenshot into a beautiful design mockup

Deploying

  1. Create a Vercel account at https://vercel.com/signup and download the CLI
  2. Add the API key as a secret vercel secrets add butter-cms-api-key "YOUR_API_KEY"
  3. Run vercel at the project root

License

MIT Licensed. Copyright (c) ButterCMS 2019.

buttercms-marketing-site-nextjs-react's People

Contributors

dependabot[bot] avatar ghoshnirmalya avatar ijjk avatar jakelumetta avatar orlyohreally 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.