https://github.com/adevecchi/laravel-contatos
Cria, Visualiza, Atualiza e Remove Contatos com Laravel 8 e MySQL com Paginação utilizando Bootstrap 4.5
https://github.com/adevecchi/laravel-contatos
laravel mysql php
Last synced: 3 months ago
JSON representation
Cria, Visualiza, Atualiza e Remove Contatos com Laravel 8 e MySQL com Paginação utilizando Bootstrap 4.5
- Host: GitHub
- URL: https://github.com/adevecchi/laravel-contatos
- Owner: adevecchi
- License: mit
- Created: 2021-01-16T06:37:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-16T06:38:43.000Z (over 5 years ago)
- Last Synced: 2025-03-23T07:30:12.494Z (over 1 year ago)
- Topics: laravel, mysql, php
- Language: PHP
- Homepage:
- Size: 319 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Descrição
Cria, Visualiza, Atualiza e Remove Contatos com Laravel 8 e MySQL com Paginação utilizando Bootstrap 4.5
## Instalação
```bash
$ git clone https://github.com/adevecchi/laravel-contatos.git
$ cd laravel-contatos
$ composer install
```
Renomear ou copiar o arquivo **.env.example** para **.env**
Criar um bando de dados no MySQL, exemplo: **CREATE DATABASE contatos_laravel;**
Configurar o arquivo **.env** conforme mostrado abaixo:
```ini
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=contatos_laravel
DB_USERNAME=
DB_PASSWORD=
```
Gerar a **key** do laravel:
```bash
$ php artisan key:generate
```
Executar os comandos para criar as tabelas:
```bash
$ php artisan migrate
$ php artisan db:seed
```
Iniciar o servidor:
```bash
$ php artisan serve
```
## Captura de tela

---

---

---

---

---
