Dry roast coconut till light brown and keep it aside.
Heat oil in a pan and add bay leaves, cinnamom, cloves, aniseeds, chilli powder, pepper powder and turmeric powder and roast them.
Grind it with roasted coconut to a smooth paste.
Heat oil in a pan or a kadai and add mustard seeds. When it starts to crackle, put the curry leaves.
Add ginger followed by onions and fry till golden brown.
Add tomatoes and fry till the juice oozes out of the tomato.
Add the ground masala and fry for 3 - 4 min.
Add the peas, salt and enough water to make gravy. Cook till peas are tender.