Giter Club home page Giter Club logo

laravel-simple-blog's Introduction

Build Status Total Downloads Latest Stable Version License

Mission: Create a simple blog system in Laravel

Estimated Completion Time: Within 2 Hours

Let’s Begin:

  1. Start a fresh 5.x Laravel project
  2. Utilise Twitter Bootstrap (CSS & JS)
  3. Create the following functionality for a client:

An Administrator may view all existing blog posts or see a message that no blogs are available. A logged out user should be able to see all Active blog posts available.

The list of Active blogs should show it’s Title, Excerpt Body, Published Time & Author’s Name. Upon clicking the blogs Title, it should present the full blog article showing Title, Full Body, Published Time, Author’s Name.

An Administrator can create a new blog article with fields including Title, Body and Active Status. An Administrator can edit an existing blog and be able to update it’s Title, Body and Active Status.

Example Schema:

User (default Laravel user migration) Posts
id id
name user_id - foreign key
email active - boolean
password title
remember_token body
created_at published_at - datetime
updated_at created_at
_ updated_at

Todo List:

  1. Create Migrations & fill in Schema
  2. Create Models with correct relationships & fillable fields
  3. Create Controller with required methods
  4. Create FormRequests for controller validation methods
  5. Create required views for Index, Create, Edit, Show
  6. Delete a blog post

laravel-simple-blog's People

Contributors

tiomno avatar

Watchers

 avatar  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.