Prepare the potatoes and onion by peeling and grating them.
Place grated potatoes and onion in a clean kitchen towel and squeeze out excess moisture.
In a large bowl, combine the grated potatoes, onion, eggs, flour, salt, and pepper. Mix until well combined.
Heat about 1/4 inch of vegetable oil in a large skillet over medium-high heat.
Using a spoon, drop heaping tablespoons of the mixture into the hot oil, flattening them slightly.
Fry the latkes for about 4-5 minutes per side, or until golden brown.
Transfer the fried latkes to a paper towel-lined plate to drain excess oil.
While the latkes are frying, prepare the applesauce by peeling, coring, and chopping the apples.
Cook the apples in a saucepan with water over medium heat, stirring occasionally until they soften.
Add sugar and lemon juice (if using) to the softened apples and mix well, then mash the mixture to your desired consistency.
Serve the crispy latkes hot with a side of the homemade applesauce.