Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

milon/laravel-blog

Repository files navigation

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.

About

A simple blog for demonstration purpose with Laravel Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 6

AltStyle によって変換されたページ (->オリジナル) /