62teknologi / 62whale Goto Github PK
View Code? Open in Web Editor NEWwhale catalog manager
whale catalog manager
bisa check apakah boolean, integer, url, file, date
mengambil contoh dari beberapa validasi dari dokumentasi laravel di bawah ini
https://laravel.com/docs/10.x/validation#available-validation-rules
Duplicate settings don't get an error if they don't exist.
saat ini ketika menggunakan filter dan data yang dimunnculkan tidak ada, maka return yg di kembalikan adalah "success" seharusnya "error" karena item/catalog yang di munculkan tidak ada
di request formatter sudah ada slug dan name, nah ketika kita input name aturanny codingannya mengubah name menjadi slug nyatanya menjadi uuid.
misalkan category memiliki parent_id bagaimana caranya mengeluarkan category beserta sub_category dimana parent, child dan grand_child
hasilnya seperti ini
Root Category (Kategori Utama)
├─ Fashion
│ ├─ Pria (Men)
│ │ ├─ Pakaian (Clothing)
│ │ │ ├─ Atasan (Tops)
│ │ │ ├─ Bawahan (Bottoms)
│ │ │ └─ Celana Jeans (Jeans)
│ │ ├─ Sepatu (Shoes)
│ │ │ ├─ Sneakers
│ │ │ └─ Sepatu Formal (Formal Shoes)
│ │ └─ Aksesoris (Accessories)
│ │ ├─ Topi (Hats)
│ │ └─ Kacamata (Sunglasses)
│ └─ Wanita (Women)
│ ├─ Pakaian (Clothing)
│ │ ├─ Blouse
│ │ ├─ Dress
│ │ └─ Rok (Skirt)
│ ├─ Sepatu (Shoes)
│ │ ├─ Heels
│ │ └─ Sepatu Sneakers (Sneakers)
│ └─ Aksesoris (Accessories)
│ ├─ Tas (Bags)
│ └─ Perhiasan (Jewelry)
├─ Elektronik (Electronics)
│ ├─ Smartphone
│ ├─ Laptop
│ └─ Kamera (Camera)
├─ Rumah Tangga (Home & Living)
│ ├─ Furniture
│ └─ Dekorasi (Decoration)
└─ Olahraga (Sports)
├─ Peralatan Olahraga (Sports Equipment)
└─ Pakaian Olahraga (Sports Apparel)
There must be a parameter that decides 1toM or MtoM and the name can be customized, in request/product.json add a new object belongsToMany
jika di suatu table terdapat table dimana ada data start_date dan end_date. bagaimana caranya agar whale bisa memfilter data diantara start_date >= now and end_date <= now
ketika mengirimkan perintah delete ke api pada table tertentu harus melakukan pengecekan apakah data masih existed atau tidak. jika tidak ada maka harus di returnkan jika data tidak ada
ketika kita create data dengan catalog controller. dia tidak mengembalikan ID dimana data itu di buat. ex kita create promo dengan catatan field pada promos
promos(id, name, slug, description)
tetapi yang malah keluar adalah : name, slug, description
meskipun pada transformer crate.json sudah di tambahkan "id" tetap tidak juga keluar
When i'm trying to query from order_groups table, which have multi-level has_many relationship, it will only show the first level of the has_many relationship. The filterable also not working on the has_many relationship
make softdelete work
data dapat di buat menjadi tipe collection bukan hanya pagination. ketika ingin menampilkan 10 data tunggal tanpa pagination
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.