Task 3. CRUD for Posts and One to Many relation between Posts and Categories, many to many relation between Posts and Tags
How to run:
- Open command prompt or git:Bash from the directory you want to setup this project.
- Run Command: git clone https://github.com/kzshoibal/Task3.git
- Run Command: cd Task3
- Run Command: Composer install
- Run Command: copy .env.example .env
- Run Command: php artisan key:generate
- (Optional) Open .env change the DB_DATABASE to any other database name
- Create a database(name: Laravel or given_database_name) in the mysql server or Run command at mysql directory: mysql>create database database_name
- from Command prompt, Run Command: php artisan serve
- Run Command: php artisan migrate --seed