Take a saucepan.
Add the olive oil in it.
Add the shallots, garlic, bay leaf and red pepper flakes in it.
Cook it until mixture becomes fragrant.
Add the potatoes and bacon in the cooking mixture.
Add the lemon juice, crème fraiche, kosher salt and black pepper into the cooking mixture.
Add the cooking mixture into a baking dish.
Add the cheese on top of the mixture.
Bake the dish for twenty minutes.
Garnish the dish with fresh chopped parsley.
Your dish is ready to be served.