Simple CRUD application with Codeigniter and Vue.JS.

This is a simple CRUD application that helps you understand the CRUD functions in Codeigniter with the combination of Vue.js to speed up data processing.

Tạo ứng dụng CRUD đơn giản với Codeigniter và Vue.JS

* Requirements

If you want to use script you have to follow these requirements to use the application.
PHP version 5.6 or higher, MySQL 5.1.41 or higher, PDO installed, CURL open, session enabled, and CodeIgniter.

* How to install script on localhost:

  • Download and install a local web server such as AMPPS/XAMPP/WAMP to run our PHP scripts;
  • Download and extract the script and copy it to the web server directory;
  • Access phpMyAdmin to create a new database, then import file db_civue.sql database;
  • Open file database.php (in directory application/config) to configuration database connection:
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => '',
'password' => '',
'database' => '',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
  • Open file config.php (in directory application/config) to configuration project url:
$config['base_url'] = 'http://localhost/project_name';
  • Access  project URL: http://localhost/project_name/

Previous Post Next Post