01 - Preheat oven to 375°F. Grease a 9-inch pie dish or deep baking dish.
02 - Cook spaghetti in salted boiling water until just al dente; drain and set aside.
03 - Heat a large skillet over medium heat. Add sausage, breaking it apart, and cook until evenly browned. Drain excess fat.
04 - Stir in onion, bell pepper, garlic, and jalapeños. Sauté for 4–5 minutes until softened.
05 - Add marinara sauce, tomato paste, red pepper flakes, oregano, and smoked paprika. Season with salt and pepper. Simmer for 5 minutes.
06 - In a large bowl, combine cooked spaghetti, ricotta cheese, eggs, and chopped basil. Mix until pasta is evenly coated.
07 - Spread the spaghetti mixture into the prepared dish, forming a crust that goes up the sides.
08 - Spoon the sausage and vegetable sauce over the spaghetti layer, spreading evenly. Top with mozzarella and Parmesan.
09 - Bake for 25–30 minutes until the cheese is melted and golden. Let cool for 10 minutes before slicing.
10 - Garnish with fresh basil and serve warm.