Simple blog with markdown. Development not continued. Project not in use anymore.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
.scrutinizer.yml
.styleci.yml
.travis.yml
artisan
composer.json
composer.lock
package.json
phpunit.xml
readme.md
server.php
tailwind.js
webpack.mix.js

readme.md

Simple Blog made with Laravel

Latest Version on Packagist Software License Build Status StyleCI SensioLabsInsight Quality Score Code Coverage Total Downloads

Backend

Logging in

There's no interface for changing user's information yet. You can change user's password using tinker

$ php artisan tinker
> $user = App\Models\User::find(1);
> $user->password = bcrypt('newPassword');
> $user->save();

Posts Content

The body of the posts are saved in markdown. Laravel uses Erusev's Parsedown package to transform it into HTML. Backend UI uses SimpleMDE to show a friendly markdown editor

Tables

All list tables were made using Spatie's Vue Table Component package. Pagination and search are server-side

Changing theme

Main app colors are defined by Tailwind CSS colors.

You can manage themes from the backend on backend/themes. Only one theme can be active at a time.

Frontend

Posts List

In order to see a post, it must be visible and publish_date must be in past.

Algolia's Search (currently untested)

There's a box on the top-right corner for searching posts that uses algolia instant search javascript component. You can define your Algolia credentials in the .env file.

Featured posts

A featured post is visible from anywhere on the frontend UI. It's showed on the sidebar present in any page. It must be published and visible as well.

Inspiration

When I got stuck developing this project, I used Freek Van Der Herten's blog to find a way to solve the problem or inspiration for future features. Thanks for sharing it! 👍

Credits