MikeCavaliere.com in Next.js
Next.js UI / Chakra-UI source for MikeCavaliere.com. Uses WordPress headlessly for article content; all data will eventually be moved off of WordPress entirely.
Table of Contents
About The Project
My existing personal site at MikeCavaliere.com is running on WordPress, and I want a new, faster version built with Next.js and Chakra-UI, using all the great toys like SSG, a serverless API and so on.
The first version will be a new design that pulls data from WP headlessly; eventually I'll move off WP entirely.
Built With
Getting Started
Prerequisites
You'll need a headless WordPress installation to populate the article pages.
For more details on this, see the Next.js example repo, "A statically generated blog example using Next.js and WordPress" . This is where the WordPress data fetching logic was taken from.
Installation
- Clone the repo
git clone https://github.com/mcavaliere/mikecavaliere-com-next.git
- Install dependencies by running
yarn
(oryarn install
). - Copy
.env.local.example
to.env.local
- Fill in any relevant environment variables.
- Start the project by running
yarn dev
, like any other Next.js app.
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
- Twitter - @mcavaliere
- Website - MikeCavaliere.com