BlogCafé is a simple Single Page Blog Application built with Laravel 5.8 and Vue2.
BlogCafé allows users create accounts, create blog posts with multiple images upload feature, view all blog posts and view a single blog post content.
BlogCafé is a end product of a blog tutorial I wrote detailing how to build and implement a blog system with multiple image upload using Vuejs(a frontend SPA) and Laravel.
- Login
- Register
- Multiple Image upload
- Create Blog Post
- View Blog Post
Clone repository
clone repository to your local machine
git clone https://github.com/MartinsOnuoha/BlogCafe.gitChange Directory
Navigate into the project directory
cd BlogCafeCopy .env file
copy content of the environment file
cp .env.example .envEdit .env file
Update .env file with DB information
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=blogcafe
DB_USERNAME=root
DB_PASSWORD=grimesBottomInstall laravel packages
Remove composer.lock file and install packages
rm composer.lockcomposer installGenerate Key
Generate application key from your terminal
php artisan key:generateInstall npm packages
Remove package-lock.json file and install npm packages
rm package-lock.jsonnpm iRun Migrations
Run database migrations and seed the post tables
php artisan migrate:fresh --seedStart Application
php artisan serveGo to localhost:8000 and register, start blogging 🎉

