Skip to content

nhuttranm/n-blog

Repository files navigation

Lite Blog - A Laravel Blog Generator

Latest Version on Packagist Build Status Quality Score Total Downloads

Lite Blog a minimal full (frontend & backend) blog generator built with tailwindcss and wink a laravel publishing platform by Mohamed Said. The frontend is a replicate of jigsaw blog template.

I made a blog post on how to get started. Check it here.

Requirement

Lite Blog make use of Laravel 6, so make sure you have meet Laravel 6 server requirements.

Installation

You can install the Lite Blog via composer create-project

composer create-project --prefer-dist  stephenjude/lite-blog myblog

Create your database and update your .env file.

Setup your blog.

cd myblog

php artisan setup:blog

Start the local development server

php artisan serve

Configs

Site Config

Update site details in the config/services.php file.

'meta' => [
    'site_name' => 'My Perosnal Blog',
    'mantra' => 'Web & Mobile Developer',      
],

Social Profile Links

Update site social profile link in the config/services.php file.

'social' => [
    'linkedin' => 'https://www.linkedin.com/in/username/',
    'email' => 'mailto:[email protected]',
    'medium' => 'https://medium.com/@username',
    'github' => 'https://github.com/username',
    'twitter' => 'https://twitter.com/username',
    'atom' => '#',
],

Unsplash Integration

To use unsplash images add this to your .env file

UNSPLASH_ACCESS_KEY=xxxxxxxxxxxxx

Usage

Routes Url
Homepage myblog.test
List Articles myblog.test/articles
View Article myblog.test/articles/{slug}
Editor (Publishing Platform) myblog.test/editor
Refresh Indexed Articles myblog.test/fresh

This /fresh route should be called after publishing/updating a post. I am still working on automating it.

Compiling assets (Optional)

npm install

npm run dev

Screenshots

About

Newsletter

Publishing Platform (Wink)

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published