Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.51 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.51 KB

Strapi Nuxt Js Blog

A simple blog made with nuxt strapi

@nuxtjs/strapi

This starter uses the Strapi blog template

Check out all of our starters here

Features

  • Content types: Articles, Categories
  • Created articles
  • Created categories
  • Permissions set to true for article and category
  • Responsive design using UIkit

Pages:

  • "/" display every articles
  • "/article/:id" display one article
  • "/category/:id" display articles depending on the category

Install

$ git clone https://github.com/Leoglme/nuxt-strapi-blog
$ cd nuxt-strapi-blog
$ cd backend && yarn install && yarn dev
$ cd frontend && yarn install && yarn dev

The Nuxt frontend server will run here => http://localhost:3000

The Strapi backend server will run here => http://localhost:1337

Deploying to production

You will need to deploy the frontend and backend projects separately. Here are the docs to deploy each one:

Don't forget to setup the environment variables on your production app:

For the frontend the following environment variable is required:

  • BACKEND_URL: URL of your Strapi backend, without trailing slash