Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derrickmehaffy/digitalocean-test-blog-frontend
Testing DO Apps
https://github.com/derrickmehaffy/digitalocean-test-blog-frontend
Last synced: 22 days ago
JSON representation
Testing DO Apps
- Host: GitHub
- URL: https://github.com/derrickmehaffy/digitalocean-test-blog-frontend
- Owner: derrickmehaffy
- License: mit
- Created: 2020-11-20T19:41:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T01:51:24.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T02:13:11.134Z (about 1 month ago)
- Language: Vue
- Size: 5.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Strapi Starter Nuxt Blog
Nuxt starter for creating a blog with Strapi.
![screenshot image](/screenshot.png)
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 UIkitPages:
- "/" 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](https://github.com/strapi/strapi-starter-nuxt-blog/generate) on GitHub, and filling the [form](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
### Backend
Create a Strapi project named `backend` using the [blog template](https://github.com/strapi/strapi-template-blog):
```
# 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:
```bash
cd frontend
```Install dependencies and start the Nuxt server:
```bash
# 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:
```sh
cp .env.example .env
```The Nuxt server will run here => [http://localhost:3000](http://localhost:3000)
Enjoy this starter!