Bring a wok of salted water to a gentle boil. Blanch the snake beans and carrot for 2 minutes, then remove and refresh in a sieve dunked into a bowl of iced water. Set aside on a clean tea towel to completely drain and dry. Blanch the bean sprouts and spinach for 40 seconds, then refresh, drain, and set aside to dry.
Heat the oil over medium heat and add the sliced garlic, shallots, and chillies. Cook for 2-3 minutes, or until softened. Place the chilli mixture into a mortar along with the lime juice, brown sugar, and a pinch of salt and pepper. Grind the dressing into a loose paste.
Place the blanched vegetables into a large mixing bowl along with the freshly grated coconut and pour over the dressing. Toss well so everything is coated evenly in the dressing.
Transfer the salad to a serving platter and garnish with roasted peanuts. Serve with extra lime wedges.