Skip to content

Sveltekit Strapi Blog

Latest
Compare
Choose a tag to compare
@Marktawa Marktawa released this 18 Feb 13:31
· 2 commits to main since this release
d7bb5a3

Sveltekt Strapi Blog

Cover Image

Part 01: Setup and Installation

Status: Complete

Project Description

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

Article Link

Build a blog from scratch using Strapi and Sveltekit

Prerequisites

  • Node.js (LTS version)

Getting Started

Unzip source code.

unzip sveltekit-strapi-blog.zip

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

Sponsor

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 Banner

Buy Me A Coffee

What's Changed

New Contributors

Full Changelog: https://github.com/Marktawa/sveltekit-strapi-blog/commits/v1.0.0