https://github.com/agungsugiarto/codeigniter4-ajax-crud
Example CodeIgniter 4 ajax crud with serverside datatable.
https://github.com/agungsugiarto/codeigniter4-ajax-crud
ajax-crud codeigniter4
Last synced: 11 months ago
JSON representation
Example CodeIgniter 4 ajax crud with serverside datatable.
- Host: GitHub
- URL: https://github.com/agungsugiarto/codeigniter4-ajax-crud
- Owner: agungsugiarto
- License: mit
- Created: 2020-01-12T09:38:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T10:54:48.000Z (almost 6 years ago)
- Last Synced: 2025-04-11T23:53:08.972Z (over 1 year ago)
- Topics: ajax-crud, codeigniter4
- Language: PHP
- Homepage:
- Size: 680 KB
- Stars: 79
- Watchers: 7
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeIgniter4 Ajax CRUD
Program sederhana Ajax Crud dengan CodeIgniter4.
# Installation
### Clone the repository:
```
git clone https://github.com/agungsugiarto/codeigniter4-ajax-crud.git
```
### Pindah ke directory codeigniter4-ajax-crud:
```
cd odeigniter4-ajax-crud
```
### Install dependency:
```
composer install
```
### Buat database baru. Kemudian rename .env.example ke .env selanjutnya sesuaikan dengan konfigurasi database:
```
database.default.hostname = localhost
database.default.database = crud-ci4
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
```
### Migrasi database:
```
php spark migrate
```
### Buat data dummy dengan perintah:
```
php spark db:seed BookSeeder
```
### Jalankan aplikasi dengan perintah:
```
php spark serve
```
Sekarang buka browser dengan alamat address http://localhost:8080/
# Screenshoot | Demo on [Heroku](https://crud-codeigniter4.herokuapp.com)
| | |
| ------------- | ------------- |
| Index | Create |
| | |
| Update | Delete |
| |  |