Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ovenx/laravel-blog

simple blog with laravel 7 and vue 2
https://github.com/ovenx/laravel-blog

blog laravel7 markdown php

Last synced: 8 days ago
JSON representation

simple blog with laravel 7 and vue 2

Awesome Lists containing this project

README

        

# Laravel Blog

## install package
```bash
composer install
```

## create the `.env` file
```bash
cp .env.example .env
```

## generate secret key
```bash
php artisan key:generate
php artisan jwt:secret
```

## config the database

edit the .env file to config the database

create the `laravel-blog` database,then run `migrate`

```bash
php artisan migrate
php artisan db:seed
```

default admin account

username:`admin` password:`admin`

## run
```bash
npm run dev # dev
npm run watch # watch
npm run prod # prod
```

## demo

[https://laravel-blog.ovenx.cn/](https://laravel-blog.ovenx.cn/)

[https://laravel-blog.ovenx.cn/admin](https://laravel-blog.ovenx.cn/admin)