Create a a Personal Blog with laravel 5.2

In this tutorial, we’ll code a simple personal blog with Laravel. The Tutorial is Updated to Laravel 5.2 So , We’ll also cover Laravel’s built-in authentication, paginate mechanism, and named routes. We’ll elaborate some rapid development methods, which come with Laravel, such as creating route URLs. The following topics will be covered in this chapter:

  • Creating and migrating the posts database
  • Creating a posts model
  • Creating and migrating the authors database
  • Creating a members-only area
  • Saving a blog post
  • Assigning blog posts to users
  • Listing articles
  • Paginating the content

 

  • Erkan TAYLAN

    can you update `artisian` to `artisan`

  • Erkan TAYLAN

    when i create migration with your command i get this error: (it gives after `php artisan migrate`)
    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘laravel_blog.posts’ doesn’t exist
    i reset everything and change to this command:
    php artisan make:migration create_posts_table –create=”posts”
    and it worked

  • Erkan TAYLAN

    /4 You say create file named “Posts.php” but your class name “Post”. I’m new at laravel and this confuses me

Pin It on Pinterest

Shares

Get the best in web dev

Join dunebook.com and recieve best in web dev , once a week FREE

An email has been Sent to your Inbox ! Please Confirm your Subscription :)