This is a simple .bib file of a basic book:
@Book{Dummy:1,
author = "John Doe",
title = "Untitled Book",
publisher = "Dummy Publisher",
year = 2019,
}
\documentclass{article}
\begin{document}
Type your text here. This text requires a citation \cite{Dummy:1} to embed the citation in the required position in the text.
\newpage
\bibliography{name of .bib file}
\bibliographystyle{ieeetr}
\end document
It will look something like this:
Type your text here. This text requires a citation [1] to embed the citation in the required position in the text.
References
[1] J. Doe, Untitled Book. Dummy publisher, 2019.