Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gomzyakov/larajournal

Simple blog application based on Laravel
https://github.com/gomzyakov/larajournal

blog blog-app blog-application blog-example blog-laravel blog-website blogs laravel-blog laravel-blog-app laravel-blog-website personal-blog personal-site personal-website php-blog php-blog-laravel simple-blog simple-blog-in-laravel simple-blog-website

Last synced: 10 days ago
JSON representation

Simple blog application based on Laravel

Awesome Lists containing this project

README

        

>[!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](https://github.com/gomzyakov/laravel-blog/issues), do it and open a PR.

![Simple personal blog app written on Laravel and MySQL](./docs/social-preview-en.png)

### Read this in [other languages](./translations/Translations.md):

[ગુજરાતી](translations/README.guj.md)
· [हिन्दी](translations/README.hi.md)
· [मराठी](translations/README.mr.md)
· [മലയാളം](translations/README.ml.md)
· [ಕನ್ನಡ](translations/README.ka.md)
· [తెలుగు](translations/README.te.md)
· [ଓଡିଆ](translations/README.od.md)
· [ਪੰਜਾਬੀ](translations/README.pb.md)
· [বাংলা](translations/README.bn.md)
· [தமிழ்](translations/README.ta.md)
· [မြန်မာ](translations/README.mm_unicode.md)
· [Bahasa Indonesia](translations/README.id.md)
· [Català](translations/README.ca.md)
· [Español](translations/README.es.md)
· [Nederlands](translations/README.nl.md)
· [Русский](translations/README.ru.md)
· [Bulgarian](translations/README.bg.md)
· [Македонски](translations/README.mk.md)
· [Magyar](translations/README.hu.md)
· [Slovenčina](translations/README.slk.md)
· [日本語](translations/README.ja.md)
· [Tiếng Việt](translations/README.vn.md)
· [Polski](translations/README.pl.md)
· [فارسی](translations/README.fa.md)
· [Lietuvių kalba](translations/README.lt.md)
· [한국어](translations/README.ko.md)
· [Deutsch](translations/README.de.md)
· [中文(Simplified)](translations/README.zh-cn.md)
· [中文(Traditional)](translations/README.zh-tw.md)
· [ελληνικά](translations/README.gr.md)
· [العربية](translations/README.ar.md)
· [Українська](translations/README.ua.md)
· [Português (Brasil)](/translations/README.pt-br.md)
· [Português (Portugal)](translations/README.pt-pt.md)
· [Italiano](translations/README.it.md)
· [ภาษาไทย](translations/README.th.md)
· [Galego](translations/README.gl.md)
· [नेपाली](translations/README.np.md)
· [اردو](translations/README.ur.md)
· [Limba Română](translations/README.ro.md)
· [English](README.md)
· [Türkçe](translations/README.tr.md)
· [עברית](translations/README.hb.md)
· [Czech](translations/README.cs.md)
· [Slovenščina](translations/README.sl.md)
· [Norsk](translations/README.no.md)
· [Svenska](translations/README.se.md)
· [Dansk](translations/README.da.md)
· [Wikang Filipino](translations/README.tl.md)
· [Қазақша](translations/README.kz.md)
· [Afrikaans (South Africa)](translations/README.afk.md)
· [Zulu (South Africa)](translations/README.zul.md)
· [Kiswahili (Kenya)](translations/README.kws.md)
· [ქართული](translations/README.ge.md)
· [Igbo (Nigeria)](translations/README.igb.md)
· [Yoruba (Nigeria)](translations/README.yor.md)
· [Hausa (Nigeria)](translations/README.hau.md)
· [Suomeksi](translations/README.fi.md)
· [Español de México](translations/README.mx.md)
· [Српски](translations/README.sr.md)
· [Latvia](translations/README.lv.md)
· [Shqip](translations/README.al.md)
· [Беларуская мова](translations/README.by.md)
· [Azərbaycan dili](translations/README.aze.md)
· [Bosanski](translations/README.bih.md)
· [پښتو - Pashto](translations/README.ps.md)
· [ພາສາລາວ](translations/README.la.md)
· [Af-soomaali](translations/README.so.md)
· [አማርኛ(Ethiopia)](translations/README.am.md)
· [සිංහල(Sri Lanka)](translations/README.si.md)
· [հայերեն](translations/README.arm.md)

# Simple blog application based on Larave

The goal of this repository is to showcase good [Laravel](https://laravel.com) development practices with a simple application.

## 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

![Blog](docs/screenshot-main-page.png)

![Blog](docs/screenshot-admin-panel.png)

## Requesting features

Open a new [issue](https://github.com/gomzyakov/laravel-blog/issues) to request a feature (or if you find a bug).

## How to run blog locally?

Clone the project:

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

I believe you already have Docker installed. If not, just do it on [Mac](https://docs.docker.com/desktop/install/mac-install/), [Windows](https://docs.docker.com/desktop/install/windows-install/) or [Linux](https://docs.docker.com/desktop/install/linux-install/).

Build the `laravel-blog` image with the following command:

```bash
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:

```bash
docker compose up -d
```

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

```bash
docker compose exec app composer install
```

Copy the environment settings:

```bash
docker compose exec app cp .env.local .env
```

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

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

Migrate DB & seed fake data:

```bash
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:

```bash
docker exec -ti laravel-blog-app bash
```

## License

This is open-sourced software licensed under the [MIT License](https://github.com/gomzyakov/php-code-style/blob/main/LICENSE).

[![GitHub release](https://img.shields.io/github/release/gomzyakov/laravel-blog.svg)](https://github.com/gomzyakov/laravel-blog/releases/latest)
[![license](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/gomzyakov/laravel-blog/blob/development/LICENSE)
[![codecov](https://codecov.io/gh/gomzyakov/laravel-blog/branch/main/graph/badge.svg?token=4CYTVMVUYV)](https://codecov.io/gh/gomzyakov/laravel-blog)