Code Monkey home page Code Monkey logo

crud_generator_adminlte's Introduction

CRUD dan REST API Generator dengan template AdminLTE

Untuk yang baru belajar membuat CRUD (Create, Read, Update, Delete), atau yang ingin cepat membuat CRUD, semoga bisa membantu agar prosesnya lebih cepat.

Setup:

  1. Buat database dengan nama db_apps kemudian import dari file db yang ada dalam folder saat impor akan ada 3 table default (user, menu, modul).
  2. Kemudian create table sesuai dengan aplikasi yang akan dibuat misal table mahasiswa, isi dengan field2nya.
  3. Buka pada localhost/CRUD_generator_AdminLTE/generator dan buat terlebih dahulu menu yang diinginkan sebagai tempat CRUD nantinya dijalankan, bisa sebagai menu Master, Transaksi, Laporan atau lainnya.
  4. Pilih menu CRUD Generator, pilih table yang akan dibuat CRUD isi title dan deskripsi.
  5. Kemudian atur pada Pengaturan Modul agar CRUD yang dibuat sesuai dengan linknya.
  6. Semua aplikasi yang sudah digenerate ada difolder apps/pages.
  7. Untuk ubah database ada didalam folder apps/lib nama file conn.php dan juga
  8. Jika ingin mengubah nama aplikasi, ubah saja folder apps sesuai dengan nama aplikasi yang ingin dibuat, kemudian pindahkan folder tersebut diluar dari folder CRUD generator.
  9. Jalakan apps yang sudah dibuat dengan login menggunakan username: admin password: admin
  10. Untuk mencoba REST API gunakan http://address_link_project/CRUD_generator_AdminLTE/apps/pages/nama_modul/api_nama_modul.php contoh -> http://localhost/CRUD_generator_AdminLTE/apps/pages/buku/api_buku.php

Berikut tutorial menggunakan CRUD Generator:

Alt text

Thanks to:
https://adminlte.io/
http://harviacode.com/
https://github.com/adeavenged
https://www.leaseweb.com/labs/2015/10/creating-a-simple-rest-api-in-php/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.