BlogTest is a Content Management App
- 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
- 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
- Clone GitHub repo for this project locally
$ git clone https://github.com/dibaliqaja/blog-test.git
- Change directory in project which already clone
$ cd blog-test
- Install Composer dependencies
$ composer install
- Install NPM dependencies
$ npm install
- Create a copy of your .env file
$ cp .env.example .env
- Generate an app encryption key
$ php artisan key:generate
-
Create an empty database for our application
-
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}
- 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
- Migrate the database
$ php artisan migrate
- Create a symbolic link from public/storage to storage/app/public
$ php artisan storage:link
- Seed the database
$ php artisan db:seed
- Running project
$ php artisan serve
# | Administrator | Author |
---|---|---|
admin@blogtest.com | Register yourself for new author | |
Password | admin123 |
The Laravel framework is open-sourced software licensed under the MIT license.