Nuxt starter for creating a blog with Strapi.
This starter allows you to try Strapi with Nuxt.js 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. Do not hesitate to add new features etc ...
You may want to know how to develop such a starter by your own! This starter is actually the result of this tutorial
To deploy this Strapi instance you'll need:
- An Heroku account for free
- A Cloudinary account for saving images for free
Once you have created these accounts you can deploy your instance by clicking on this button
Netflify
To deploy this Strapi instance you'll need:
- A Netilfy account for free
Once you have created your account you can deploy your instance by clicking on this button.
- Select a repository name and fill the API_URL with your Strapi instance on Heroku (eg: https://your-app.herokuapp.com) without the trailing slash
- 2 Content types: Article, Category
- 2 Created articles
- 3 Created categories
- Permissions set to
true
for article and category - Responsive design using UIkit
- "/" display every articles
- "/article/:id" display one article
- "/category/:id" display articles depending on the category
Clone the repository and install dependencies
git clone https://github.com/strapi/strapi-starter-nuxt-blog.git
cd strapi-starter-nuxt-blog
# Using yarn
yarn setup:yarn
# Using npm
npm run setup:npm
This command will launch both of your backend and frontend server and do a data migration in your backend server
# Using yarn
yarn build:yarn
yarn develop:yarn
# Using npm
npm run build:npm
npm run develop:npm
Alternatively, you can still start your servers separately:
cd backend
# Using yarn
yarn build
yarn develop
# Using npm
npm run build
npm run develop
cd frontend
# Using yarn
yarn develop
# Using npm
npm run develop
Nuxt server is running here => http://localhost:3000 Strapi server is running here => http://localhost:1337
Enjoy this starter