What sort of hinge should I use??

Hii woodworkers, im completely new to woodworking and have a question about a small ceremonial tea table im working on. I want the legs to be able to fold underneath flat and then fold out at 90 degrees flush with the side of the top piece. Any suggestions would be greatly appreciated. I guess I'm having trouble visualizing the indents I would chisel if I want my leg to attach slightly in from the edge because when it folds out I want it to be flush...

Wood Machinery & Supplies

Lightweight panel

Palram says its Palight BuildBoard is a water-resistant, fire-retardant, lead-free and formaldehyde-free panel ideal for use in RTA furniture, cabinetry, and closet components. Easy to machine, paintable and printable, the lightweight PVC panel is also compatible with HPL, TFL and 3D laminates.