Simle Laravel CRUD project with ajax . This project is test of how to create Laravel project.
- composer
- mysql
- Clone repository or download zip.
git clone git@github.com:buhijs/simple_laravel_crud_test_project.git
- After clonig repository or downloading, go to root folder and run folowing commands
composer install composer update
- Change
.env.example
to.env
and change the following file content area - database settings
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE= YOUR DATABASE YOU CREATED FOR THIS PROJECT (empty database) DB_USERNAME= MYSQL USER (root or something else) DB_PASSWORD= MYSQL USER PASSWORD
- Use
php artisan migrate
command to import database test table for tbis project - You can start project two ways through commands
artisan | php |
---|---|
php artisan serve | php -S localhost:8080 -t public |