• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

milon/laravel-blog: A simple blog for demonstration purpose with Laravel Framewo ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

milon/laravel-blog

开源软件地址(OpenSource Url):

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

开源编程语言(OpenSource Language):

JavaScript 75.1%

开源软件介绍(OpenSource Introduction):

Laravel Blog

A simple blog for demonstration purpose. Based on Laravel 7.0

Requirements

  • Laravel 7.0
  • PHP >= 7.2.5
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • BCMath PHP Extension

Demo

You can try the live demo : http://gentle-everglades-40337.herokuapp.com/

Demo login info

user: contact@milon.im | password: password

Installation

git clone https://github.com/milon/laravel-blog.git blog
cd blog
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan db:seed

If you want dummy data, then run this-

php artisan db:seed --class=DummyDataSeeder

API Endpoints

This projects exposes some API endpoints. You could request those endpoints with the api_token passed as query parameters, like this- /api/tags?api_token=YOUR_API_KEY. You can also pass the token as a Authorization Bearer token. The API key could be obtained from /api/auth/token endpoint. Available endpoints are-

/api/auth/token
/api/auth/reset-password
/api/auth/change-password

/api/tags
/api/categories
/api/users     // only accessible by admin
/api/posts

These endpoints are also available as a Postman collection here.

Author

Feel free to email me, if you have any question.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap