Skip to content

VijaySankhat/web-blogging

Repository files navigation

Laravel web blogging demo

About This project

This project demonstrate the blogging features like

  • View All the post (Guest)

  • View single post (Guest)

  • Search Post (Guest)

  • Sort by latest and oldest post (Guest)

  • Add new post (Author)

  • Edit post (Admin)

  • Delete post (Admin)

  • Import posts from given url (Admin)

    • Note: Don't forget to start artisan command before importing posts, please use database or other queue driver

      php artisan queue:work

    Import format

    {
        "data": [
            {
                "title": "Title",
                "description": "Description",
                "publication_date": "2021-10-06 03:00:13"
            },
            {
                ...n
            }
        ]
    }   

##How to run?

  • Database name "blogging"
  • php artisan migrate
  • php artisan db:seed
  • Default password for admin => "secret"
  • Default password for author/editor => "secret"
  • You can use artisan cache command to improve performance,
    • Use Redis cache driver(For production)
    • php artisan config:cache
    • php artisan route:cache
    • php artisan queue:work
  • Running test
    • php artisan test

Laravel features used in this demo

Note: Used default authentication provided by Laravel, system have only two roles, author/admin

License

open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages