sveltekit-strapi-blog

Sveltekit Strapi Blog

This is a blog website built using Strapi as a headless CMS and Sveltekit as the frontend framework.

Sveltekit Strapi Blog

Project Description

This is a blog website built using Strapi as a headless CMS and Sveltekit as the frontend framework.

Source Code

Sveltekit Strapi Blog v1.0.0

Article Link

Build a blog from scratch using Strapi and Sveltekit

Prerequisites

  • Node.js (LTS version)
  • Git

Getting Started

Clone the repo.

git clone https://github.com/Marktawa/sveltekit-strapi-blog

Change directory.

cd sveltekit-strapi-blog

Strapi Setup

Install dependencies.

cd backend
npm install

Build your Strapi app.

npm run build

Start your Strapi dev server.

npm run develop

Visit localhost:1337/admin in your browser to view the Strapi Admin Dashboard.

Sveltekit Setup

Open up a new terminal session and open up the main project folder, sveltekit-strapi-blog.

Install dependencies.

cd frontend
npm install

Run Sveltekit app.

npm run dev

Visit localhost:5173 in your browser to view the Sveltekit app.

Author

Mark Munyaka

GitHub: @Marktawa Twitter: @McMunyaka

Support my passion for sharing development knowledge by making a donation to my Buy Me a Coffee account. Your contribution helps me create valuable content and resources. Thank you for your support!

Buy Me A Coffee

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes