Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffreyway/laravel-from-scratch-blog-project
The completed blog demo project from Laravel 8 From Scratch.
https://github.com/jeffreyway/laravel-from-scratch-blog-project
blog laracasts laravel
Last synced: 6 days ago
JSON representation
The completed blog demo project from Laravel 8 From Scratch.
- Host: GitHub
- URL: https://github.com/jeffreyway/laravel-from-scratch-blog-project
- Owner: JeffreyWay
- Created: 2021-05-08T19:46:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T11:41:59.000Z (9 months ago)
- Last Synced: 2024-12-11T08:07:20.650Z (13 days ago)
- Topics: blog, laracasts, laravel
- Language: PHP
- Homepage: http://laravelfromscratch.com
- Size: 4.55 MB
- Stars: 548
- Watchers: 25
- Forks: 289
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel From Scratch Blog Demo Project
http://laravelfromscratch.com
## Installation
First clone this repository, install the dependencies, and setup your .env file.
```
git clone [email protected]:JeffreyWay/Laravel-From-Scratch-Blog-Project.git blog
composer install
cp .env.example .env
```Then create the necessary database.
```
php artisan db
create database blog
```And run the initial migrations and seeders.
```
php artisan migrate --seed
```## Further Ideas
Of course we only had time in the Laravel From Scratch series to review the essentials of a blogging platform. You can certainly take this many
steps further. Here are some quick ideas that you might play with.1. Add a `status` column to the posts table to allow for posts that are still in a "draft" state. Only when this status is changed to "published" should they show up in the blog feed.
2. Update the "Edit Post" page in the admin section to allow for changing the author of a post.
3. Add an RSS feed that lists all posts in chronological order.
4. Record/Track and display the "views_count" for each post.
5. Allow registered users to "follow" certain authors. When they publish a new post, an email should be delivered to all followers.
6. Allow registered users to "bookmark" certain posts that they enjoyed. Then display their bookmarks in a corresponding settings page.
7. Add an account page to update your username and upload an avatar for your profile.