Git Product home page Git Product logo

laravel-from-scratch-blog-project's Introduction

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.

laravel-from-scratch-blog-project's People

Contributors

jeffreyway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.