https://github.com/atomjoy/xenon
Xenon is a Laravel and Vue based blog with multi-guard authentication (CMS).
https://github.com/atomjoy/xenon
laravel-blog laravel-vue-blog php-blog vue-blog vue-blog-admin xenon xenon-blog
Last synced: 28 days ago
JSON representation
Xenon is a Laravel and Vue based blog with multi-guard authentication (CMS).
- Host: GitHub
- URL: https://github.com/atomjoy/xenon
- Owner: atomjoy
- Created: 2025-04-09T11:12:12.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-05-01T20:07:51.000Z (about 1 month ago)
- Last Synced: 2025-05-09T01:59:30.041Z (28 days ago)
- Topics: laravel-blog, laravel-vue-blog, php-blog, vue-blog, vue-blog-admin, xenon, xenon-blog
- Language: PHP
- Homepage: https://github.com/atomjoy/xenon
- Size: 44.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xenon Blog
Xenon is a Laravel and Vue based blog with multi-guard authentication.
## Run
Config in .env or .env.production and default users in database/seeders.
```sh
# Create storage and public_html links
php artisan storage:link
# DB Tables
php artisan migrate:fresh --seed
# Import mysql data
database/sql/laravel-9.sql
# Compile
npm run build
# Run
php artisan serve
```## Login (guards)
Default user login details.
```sh
ClientPanel: /login
User: [email protected]
Pass: Password123#AdminPanel: /admin/login
User: [email protected]
Pass: Password123#
```## Configs, Component json
```sh
# Json
resources/js/settings# Seo schema
resources/js/utils/seo# Lang
resources/js/lang
```## Mysql table
```sql
-- Tabele
CREATE DATABASE IF NOT EXISTS laravel CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE DATABASE IF NOT EXISTS laravel_testing CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;-- Nie wymagane do testu
GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'toor' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO [email protected] IDENTIFIED BY 'toor' WITH GRANT OPTION;
```## Production
```sh
# Linki symboliczne
php artisan storage:link# Clear cache config
php artisan optimize:clear# Baza danych
php artisan migrate --seed
php artisan migrate:fresh --seed# Dodaj do cache
php artisan event:cache
php artisan config:cache
php artisan optimize# Usuń z cache
php artisan event:clear
php artisan cache:clear
php artisan optimize:clear
```## Compile, Run
```sh
npm run build
php artisan serve
```## Resource Controller
```sh
php artisan make:model Category -a --resourceRoute::resource('categories', CategoryController::class)->except(['create', 'edit']);
```## Test
```sh
php artisan migrate:fresh --seedphp artisan test --stop-on-failure
php artisan test --filter PermissionsTest --stop-on-failure
```## TODO
```sh
- Seo meta tags for main pages with json (uncomment, optional)
- Social login (implement, optional)
- Vue locale translations (add, optional)
```## Screenshots
![]()
![]()
![]()
![]()
![]()
![]()
## Links
```sh
# Icons
https://www.svgrepo.com/collection/kalai-oval-interface-icons
https://www.svgrepo.com/collection/solar-linear-icons
#Images
https://unsplash.com
https://www.nvidia.com
```