Clientes Crud Php Vuejs

CLIENTES CRUD PHP VUEJS

Installation

  1. Clone App
$ git clone https://github.com/felloz/clientes_crud

  1. Install php dependencias
composer install

  1. Install node modules
npm install 

Created in PHP 7.4.9

Setup

NOTE The next step wasn’t tested so if you have some troubles just skip it and find a database copy in the Database folder.

  1. First Config the DB Connection in the file helpers\create_database.php:
<?php

use Model\Database;

require_once '../vendor/autoload.php';

//Set your parameters here
$database = new Database('mysql', '127.0.0.1', 'prueba_actual2', 'root');

$database->createDb();
$database->createTable();
  1. Set up the connection for the system in Database/Connection.php, this file is the main connection for the whole Crud.
class Connect
{
    public $pdo;

    /**
     * Constructor para crear la conexion al instanciar
     */
    public function __construct()
    {
        try {
            $this->pdo = new PDO('mysql:host=127.0.0.1;dbname=prueba_actual2', 'root', '');
            $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (Exception $e) {
            die($e->getMessage());
        }
    }
}
  1. Execute the Script from `helpers/create_database.php/:
$ php created_database.php

Now you can use the Crud :-)

crud_preview

Live Demo: http://honeymails:8000/

Download Details:

Author: felloz

Demo: http://honeymails:8000/

Source Code: https://github.com/felloz/clientes_crud

#vue #vuejs #javascript #php

Clientes Crud Php Vuejs
2.30 GEEK