Skip to content

Instantly share code, notes, and snippets.

@rawaludin rawaludin/tugas-nf.md
Last active Feb 17, 2018

Embed
What would you like to do?
Tugas Nurul Fikri.md

Tugas:

  • CRUD
  • Authentication
  • Policy
  • Validation
  • Relationship di Model
  • API dengan auth
  • Sample data
  • dll

Kelompok 1:

Berita

table: posts fields:

  • title
  • content
  • author_id

Rule

  • Tampilkan berita di frontpage tanpa perlu login
  • Hanya user yang memiliki berita dan admin yang bisa edit

Kelompok 2:

Siswa

table: students fields:

  • name
  • birth_date
  • sex
  • address
  • phone
  • user_id

Rule

  • Tampilkan total siswa
  • List siswa
  • Hanya admin dan TU yang bisa edit siswa
  • Detail per siswa

Kelompok 3:

  • Buat form untuk daftar sebagai alumni tapi harus login dulu

Alumni

table: alumni model: alumnus field:

  • nama
  • tahun lulus
  • angkatan
  • jurusan
  • pekerjaan
  • user_id
@rawaludin

This comment has been minimized.

Copy link
Owner Author

commented Feb 17, 2018

Alur:

  • Buat migration
  • Buat model
  • Buat sample data (seeder)
  • Buat controller
  • Buat route
  • Tambah logic controller, model, dll sambil tambah view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.