Skip to content

gomzyakov/laravel-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Simple blog application based on Laravel

The goal of this repository is to showcase good Laravel development practices with a simple application.

Read this README.md in other languages.

Important

This project is under development. Not all functionality is finished and much can still be improved. If you want to help with the development of the project, you can select an issue, do it and open a PR.

Features

  • πŸ“š Creating and editing posts
  • πŸ₯‘ Categories
  • πŸ”₯ Popular posts
  • πŸŽ‰ Admin panel
  • πŸ”§ Manage users, posts, categories and tags
  • πŸ‘₯ Roles: reader and administrator
  • πŸ” Personal account
  • πŸ’¬ Comments and likes
  • πŸ–‹οΈ Post`s visual editor

Preview

Laravel blog main page

Requesting features

Open a new issue to request a feature (or if you find a bug).

How to run blog locally?

Clone the project:

git clone [email protected]:gomzyakov/laravel-blog.git

I believe you already have Docker installed. If not, just do it on Mac, Windows or Linux.

Copy the environment settings:

cp .env.local .env

Build the laravel-blog image with the following command:

docker compose build --no-cache

This command might take a few minutes to complete.

When the build is finished, you can run the environment in background mode with:

docker compose up -d

We’ll now run composer install to install the application dependencies:

docker compose exec app composer install

Set encryption key with the artisan Laravel command-line tool:

docker compose exec app ./artisan key:generate --ansi

Migrate DB & seed fake data:

docker compose exec app ./artisan migrate:fresh --seed

And open http://127.0.0.1:8000 in your favorite browser. Happy using Laravel Blog!

How to get inside the container?

Access to the Docker container:

docker exec -ti laravel-blog-app bash

License

This is open-sourced software licensed under the MIT License.

GitHub release license codecov