Skip to content

masterkrieger/nuxt-strapi-blog

Repository files navigation

Nuxt.js & Strapi.js CMS Blog

A Tutorial to create a blog with Nuxt.js frontend & Strapi.js CMS backend

This repo contains the code for a demo blog built with Nuxt.js & Strapi.js CMS.

Install Strapi.js

From Strapi.io

Install Strapi:

$ npm install strapi@alpha -g

Create a project:

$ strapi new myProject
$ > Choose your main database: MongoDB (highly recommended)
$ > Database name: strapi
$ > Host: 127.0.0.1
$ > Port: 27017
$ > Username:
$ > Password:
$ > Authentication database:
$ > Enable SSL connection: false

Enter project and Launch Strapi server:

$ cd myProject
$ strapi start

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs and Strapi.js docs.

About

Custom Blog with Nuxt frontend and Strapi CMS backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published