/blog

A simple blog web app made with Laravel and Livewire

Primary LanguagePHPMIT LicenseMIT

Blog

A simple blog web app made with Laravel and Livewire.

Installation

git clone https://github.com/antimech/blog.git
cd blog
composer install
npm install

Update your .env file with the database you want to use:

-DB_CONNECTION=mysql
-DB_HOST=127.0.0.1
-DB_PORT=3306
-DB_DATABASE=blog
-DB_USERNAME=root
-DB_PASSWORD=
+DB_CONNECTION=sqlite

Migrate the database:

php artisan migrate

Fill the database with random data for demo purposes:

php artisan db:seed

Run it:

php artisan serve
npm run dev

Testing

php artisan test