Ulli ( Onion) Theeyal is a Kerala dish.
IngrediantsChopped Onions( I used 2 big onions)      1 cup    
Grated Coconut                                         1 cup
Coriander seeds                                        2 tbsp.
Black pepper                                             1 tbsp.
Red Chili                                                   8/9
Methi Seeds                                               1Tsp
Mustard seeds                                           1Tsp
Turmeric Powder                                      1 tsp
Tamarind (Lemon size) water                  1 cup                
Curry leaves                                              Few
Salt to taste   
Method
Heat a pan with oil, add coriander seeds, chili, methi pepper and grated coconut and roast the till they become golden
Grind the roasted into a fine paste.
Heat a pan with oil add mustard seeds then add onion and fry for 3/4 minutes.
Add the tamarind water and ground paste, turmeric and salt.
Let it boil and cook .
After 10 minutes add curry leaves. Serve with rice chapati.