GithubHelp home page GithubHelp logo

doc22940 / strapi-starter-nuxt-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strapi/strapi-starter-nuxt-blog

0.0 1.0 0.0 14.77 MB

Strapi Starter Nuxt Blog

Home Page: https://strapi.io/blog/build-a-blog-using-nuxt-strapi-and-apollo

License: MIT License

JavaScript 19.32% CSS 3.97% Vue 76.50% Shell 0.22%

strapi-starter-nuxt-blog's Introduction

Strapi Starter Nuxt Blog

Nuxt starter for creating a blog with Strapi.

screenshot image

This starter allows you to try Strapi with Nuxt with the example of a simple blog. It is fully customizable and due to the fact that it is open source, fully open to contributions. So do not hesitate to add new features and report bugs!

Features

  • 2 Content types: Article, Category
  • 2 Created articles
  • 3 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

Getting started

The easiest way to try this starter is to run it locally on your computer.

First, you'll need to create your own copy of this starter. You can do so by clicking the "Use this template" button on GitHub, and filling the form

Backend

Create a Strapi project named backend using the blog template:

# Using Yarn
yarn create strapi-app backend --template https://github.com/strapi/strapi-template-blog

# Or using NPM
npx create-strapi-app backend --template https://github.com/strapi/strapi-template-blog

The Strapi server will automatically start and import sample seed data.

Frontend

Leave the Strapi backend running in the background. Open another terminal tab, and make sure you're in the frontend directory:

cd frontend

Install dependencies and start the Nuxt server:

# Using yarn
yarn install
yarn develop

# Using npm
npm install
npm run develop

If you want to change the default environment variables, create a .env file like this:

cp .env.example .env

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

Enjoy this starter!

strapi-starter-nuxt-blog's People

Contributors

dependabot[bot] avatar jremi avatar mcastres avatar remidej avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.