Blog
Blog created with laravel and blade. Mysql is used as the backend API database of choose. Theme provided by html5up.net , at the moment there is no functionality for comments and sending out email.
Create Post
Remove Post
Update Post
Edit Post
Login / register (Authentication)
The instructions below will help you setup the copy of the web interface on your development machine.
Make sure to have composer installed on your local computer to run the code
Copy the .env.example file into .env
After you clone this project, do the following:
# go into the project
cd laravelblog
# create a .env file
cp .env.example .env
# install composer dependencies
composer install
# generate a key for your application
php artisan key:generate
# create a local MySQL database (make sure you have MySQL up and running)
mysql -u root
> create database laravelblog;
> exit;
# add the database connection config to your .env file
DB_CONNECTION=mysql
DB_DATABASE=laravelblog
DB_USERNAME=root
DB_PASSWORD=
# run the migration files to generate the schema
php artisan migrate:fresh
# seed your databse with some users and messages
php artisan db:seed
# if you encounter issues
php artisan cache:clear
php artisan config:clear
#for permission issues
chmod -R 775 /path/to/your/project
# laravel backend api
php artisan serve / sudo php artisan serve --host 192.168.0.51 --port 9723
- Laravel - PHP framework
- Hendrikus van Katwijk - Github - Personal website
This project is licensed under the MIT License - see the LICENSE.md file for details