Laravel project for experiments
This will serve as repo for all experiments knowing how to code laravel.
.env
file to your root directory.env.example
to newly created .env
(make sure you make necessary changes on .env
depending on your local setup)knowlaravel_db
)composer install
php artisan migrate
php artisan serve
(then access to browser)If nothing goes wrong, you're all set.
- Article
- id
- title
- body
- author_id
- timestamps (created_at, updated_at)
- softdeletes (deleted_at)
- User
- id
- username
- password
- user_type (1 => Admin, 2 => Author)
- timestamps
- User Detail (Author & Admin Profile)
- id
- user_id
- firstname
- lastname
- timestamps
user_type
= 2)user_type
= 3)