Whisk together chickpea flour, a pinch (or two) of salt, olive oil and water.
Heat a teaspoon of olive oil in a non-stick pan. Pour in 1/4 cup of batter (just like for pancakes) and cook 3-5 minutes, until you get a crispy bottom.
Flip and cook one more minute.
Slice or dice the eggplant (0.5 inch slices), salt them and place them in a colander 5-10 minutes. Cut tomatoes in two.
Heat one tablespoon of olive oil in a large skillet (medium heat). Brown garlic and red pepper.
Remove both garlic and pepper, reduce to low heat and add tomatoes and a pinch of salt, mix and sauté a few minutes.
Add the eggplant and half glass of water, mix, cover and let cook (medium/low heat) 15-18 minutes, until the eggplants are completely done.
Plate and top each socca with eggplant, fresh basil leaves and parmesan cheese.