Mix flour and salt on a flat surface. Make a well in the centre and crack an egg in it. Use the fork to beat the egg and incorporate the flour little by little into the egg mixture.
Once you get a crumbly texture and the flour is fully incorporated knead it with your hands by folding and pushing with the heel of your palm until it forms a smooth dough. Cover and let it rest for 20 minutes.
Cut the dough into half. Cover one half and roll the other half with rolling pin to the approximate width of the pasta machine.
Set the pasta machine to thickest setting (mine was 7). Pass the dough through the machine and roll. Fold the pasta sheet and repeat this process again till you get a smooth dough. Lower the setting by 1 and pass the pasta sheet again through the machine. Dust with flour to avoid sticking. Repeat this process till you get a thin sheet of pasta (I stopped at setting of 3).
Incase you don't have a pasta machine. Roll the dough with a rolling pin into a very thin sheet.
Keep a pot of boiling water and a bowl of beaten egg ready before you start the next step.
Cut the pasta with a sharp knife or pasta cutter to form rectangular strips. Cut these strips into equal squares.
Place a chopstick/skewer on one corner of an individual square and apply a little egg on the opposite corner. Now roll the square into a tube making sure to apply a little pressure at the end to seal. Slide the pasta off the skewer. Repeat with the other squares.
Drop the pasta in the boiling water. Fresh pasta cooks really fast in 3 minutes and rises to the surface. Drain the water.