The completed blog demo project from Laravel 8 From Scratch.

Overview

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.
Comments
  • Course Files

    Course Files

    Hi Jeffrey

    I would be happy to pay for your Laravel 8 course but I don't see any incremental source code files. I believe that in the past you offered a source code download link with each lesson.

    Kind Regards, Adrian

    opened by LondonWebFactory 1
  • Some installation fixes

    Some installation fixes

    I had found that composer failed with installation on PHP8.1, so had updated composer. Also there is a requirement to regenerate key after installation, added to README.

    opened by cept73 0
  • Which laravel 8 Version should be used for this tutorial?

    Which laravel 8 Version should be used for this tutorial?

    opened by SimonBard 0
  • Install the repo with laravel sail

    Install the repo with laravel sail

    I am trying for 6 hours now to get the project running with laravel sail. Sorry for misusing the bugreport, but can you please give me some hints how to setup the repo with laravel sail?

    opened by backupandforkacc 0
  • Added status column

    Added status column

    Further Ideas #1 added

    • [x] 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.
    opened by kunal254 0
Owner
Jeffrey Way
Laracasts owner.
Jeffrey Way
A php sample project written from scratch

A simple web app using php Jackson's 12 hour sample project using PHP Requirements PHP >= 7.3 Composer >= 2.1.8 Tech Stack PHP Dependency Manager Comp

Jackson Zhang 1 Oct 29, 2021
Laravel-Blog is a blog application written in Laravel 4.2.

创造不息,交付不止 Introduction Laravel-Blog is a blog project written in Laravel 4.2. Screenshots Article List Page Article composing page Single post page Ad

Summer 192 Dec 15, 2022
A simple blog project I built when learning Laravel 8

Harmonify Blog Disclaimer: All users data previewed on the image are fake data generated with FakerPHP. Introduction Harmonify Blog is a simple blog p

Wendy Surya Wijaya 3 Dec 9, 2021
This is a blog. A project was written in Laravel 8

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Vladimir Kryazhev 1 Oct 23, 2021
This is a personal portfolio and blog project based on Laravel 5.1.

nahid.co [Laravel 5.1] This is my personal blog project develop with latest Laravel version 5.1. Its opensource for students learning purpose. Install

Nahid Bin Azhar 22 Aug 12, 2022
Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP

Project-Stormwind Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP Functions : A personal blog about Blizzard and their work Main Th

Jan Andrzejewski 2 Aug 24, 2022
A simple blog project based on a custom-created MVC framework using PHP & MySQL

A simple blog project based on a custom-created MVC framework using PHP & MySQL. That follows the Facade design pattern.

Samiul Arafah Dhrubo 2 May 28, 2022
Twitter like application made with Laravel in 10 hours. Demo at

Critter, A Twitter like application written with Laravel in under 10 hours by @msurguy Imagine Twitter is down again. It's dark outside, and how can y

Maksim Surguy 58 Nov 30, 2022
Satu platform demo ringkas untuk rujukan Basic PHP

praktisphpmysql Satu platform demo ringkas untuk rujukan Basic PHP Demo https://legoom.biz.my/praktisphpmysql/ Belajar Koding Kemasukan Mei dan Septem

RB 11 Jun 21, 2022
Demo for "Migrating into Layout Builder" from DrupalCon in 2021.

Migrating Into Layout Builder Demo For DrupalCon in 2021, I presented on Migrating Into Layout Builder. For this presentation, I came up with this sim

Chris Wells 10 Nov 3, 2022
A demo of deploying mediawiki to kubernetes

emwcon-demo Files needed for a demo of deploying mediawiki to kubernetes Prerequisites docker a kubernetes cluster a copy of mediawiki/core moved into

J H 7 Jun 22, 2022
Demo of automated testing use cases for the 2022 nationals

Tests automatisés aux finales nationales 2022 Test d'API (Module C2) Pour le module C2, les spécifications de l'API seront fournies dans la spécificat

Worldskills France - Web Technologies 1 Oct 15, 2021
Demo of using geo data in PHP web applications

phpgeo-demo Demo of using geo data in PHP web applications Goals Demonstrate basic data storage and retrieval methods using Geo specific data Orient t

J Corry 2 Jul 10, 2016
Elastic Beanstalk Multi Container PHP-FPM + Nginx Demo App

Elastic Beanstalk Multi Container PHP-FPM + Nginx Demo App This demo app shows you how to run a simple PHP application using the PHP-FPM and Nginx Doc

AWS Samples 141 Sep 18, 2022
A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4

Larablog A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4 Table of contents F

Jeremy Kenedy 144 Oct 11, 2022
A simple and useful blog coded with laravel & php.

Blog with Setup Directions npm install composer install Set database infos in the .env php artisan migrate:fresh --seed php artisan serve npm run hot

Mustafa Tofur 1 Oct 11, 2022
A simple, proof-of-concept Laravel blog application powered by a MongoDB ORM.

Mongoblog A simple, proof-of-concept Laravel blog application powered by a MongoDB ORM. Separated API and front-end This is a RESTful application, who

Jayps 4 Nov 8, 2022
A powerful and responsive blog system powered by laravel 5.5.

Powerful and responsive blog system powered by laravel 5.5. Click https://lufficc.com/blog to view live demo. Xblog 中文 README | Docs This blog is for

Congcong Li 924 Nov 18, 2022
A simple blog package for Laravel 4

Laravel Blog A Laravel 4 package to add a simple blog to a site Features Paginated index view with configurable results per page Year/Month archive fi

Five by Five 74 Apr 12, 2020