5e has a System Reference Document (SRD) that tells you what you can and cannot reproduce, modify, etc. in your third party product. At the top of the SRD it reads:
"Permission to copy, modify and distribute the files
collectively known as the System Reference Document 5.1 (“SRD5”) is granted solely through the use of the Open Gaming License, Version 1.0a."
The SRD has 400 pages of rules text you can "copy, modify and distribute" including some races, classes and spells, and a whole lot of rules. There are some strings attached, like including a copy of the OGL in your work.
This page includes some answers, including links to documents (like the SRD) and an FAQ:
https://dnd.wizards.com/articles/features/systems-reference-document-srd
Another good idea would be to take a look at a reputable third party publisher that produces 5e content and dissect what they do. Kobold Press, Monte Cook Games, and Green Ronin are some of the biggest names. Consider looking at some of their 5e products and learn from the masters.
Last edited May 9, 2020 5:00 pm, a total of 3 times