BlogTest

BlogTest is a Content Management App

github actions   system version   laravel version   license

Features

  • Admin Panel
    • Login
    • Logout
    • Dashboard
    • List, Add, Edit, Delete Categories
    • List, Add, Edit, Delete Tags
    • List, Add, Edit, Delete Posts
    • Change Password
  • Frontend
    • Register With Email
    • Register With Google Tap-In
    • Home/List Posts
    • Detail Posts
    • Rating Posts
    • Browse Posts by Categories
    • Search Posts

Requirements

  • PHP >= 7.2.5
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Installation

  1. Clone GitHub repo for this project locally
$ git clone https://github.com/dibaliqaja/blog-test.git
  1. Change directory in project which already clone
$ cd blog-test
  1. Install Composer dependencies
$ composer install
  1. Install NPM dependencies
$ npm install
  1. Create a copy of your .env file
$ cp .env.example .env
  1. Generate an app encryption key
$ php artisan key:generate
  1. Create an empty database for our application

  2. In the .env file, add database information to allow Laravel to connect to the database

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE={database-name}
DB_USERNAME={username-database}
DB_PASSWORD={password-database}
  1. Input client_id and client_secret for socialize sign-in, change {your-domain} with your domain and setting in the Facebook and Google API OAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL={your-domain}/google/callback

FACEBOOK_CLIENT_ID=
FACEBOOK_CLIENT_SECRET=
FACEBOOK_CALLBACK_URL={your-domain}/facebook/callback
  1. Migrate the database
$ php artisan migrate
  1. Create a symbolic link from public/storage to storage/app/public
$ php artisan storage:link
  1. Seed the database
$ php artisan db:seed
  1. Running project
$ php artisan serve

Admin Credentials in Seeder

# Administrator Author
Email admin@blogtest.com Register yourself for new author
Password admin123

License

The Laravel framework is open-sourced software licensed under the MIT license.