James Potter was the only child of Fleamont and Euphemia Potter. He was born late in the couple's lives on 27 March, 1960. James attended Hogwarts from 1971 to 1978, and was sorted into Gryffindor like his father. While at Hogwarts, James met Lily Evans who was also in Gryffindor. James and Lily were married immediately after Hogwarts, sometime around 1978 and 1979.

The wedding was kept very quiet because of the First Wizarding War that was taking place. The war was the result of dark wizard Lord Voldemort's (a distant Potter relative) rise to power.

Harry Potter, James and Lily's son, was born during the height of the war on 31 July, 1980.

More Info: harrypotter.fandom.com