A simple Blog app built using Next.js 14, Tailwind CSS, and Ghost CMS. This app demonstrates how to read blog posts and tags from Ghost CMS with server actions in Next.js.
- Read Blog Posts with UI.
- Server-side actions for fetch data from Ghost CMS.
- Node.js installed locally.
- An Ghost CMS accont or installed locally or hosted on digital ocean.
- API credentials added to
.env.local
.
-
Clone the repository:
git clone https://github.com/thetechmaze/nextjs-ghost-blog.git
-
Install Dependencies
npm install
-
Set up Environment variables
Create a
.env.local
file in the root directory and add your AQWS credentials:GHOST_API_URL= GHOST_CONTENT_API_KEY=
-
Run the development server
npm run dev
Open http://localhost:3000 in your browser to see the app in action.
To Deploy this app, you can use platforms like Vercel or Netlify. Ensure you have your environment variables set correctly on the chosen platform.
This project is open source and available under the MIT Licence.