Blogkit Strapi Starter
Starter template for blogkit.
Getting started
Strapi guide
Blogkit strapi STEP-BY-STEP guide here.
1. Create a new strapi project
npx create-strapi-app@latest my-blog --quickstart
2. Register the first administration user, by completing the form, you now have access to the admin panel.
3. Create collection types with the Content-Type builder.
Create a "Article" collection type
4. Create fields for collection type
5. Now create your posts
6. Get your posts through the API by setting permissions
7. Refresh your page
Now you see your post list and post content.
Environment variables
STRAPI_API_URL
strapi address. (Default:http://localhost:1337
)STRAPI_CONTENT_TYPE
collection API ID(Plural) of Content-Type Builder. (Default:articles
)
Collection type fields
title
-Text
content
-Rich text
excerpt
-Text
Configuration
blogkit.config.js
Update the site title in export default defineConfig({
siteConfig: {
title: "your blog title",
},
});
Use the difference fields in collection type
export default defineConfig({
// ...
request: request({
attributes: {
title: "your title field",
content: "your content field",
excerpt: "your excerpt field",
},
}),
});
Deply your own
Deply the blogkit strapi starter using Vercel: