I'm in the midst of producing a web system, actually almost at the end ... The point is that no documentation was developed for the system, it was all being developed "directly" based on another old system that the company had.
Since I never did any documentation, I did a lot of research on the internet, but I could not find anything very solid about it. Much is said about use case diagrams, relational model, description of classes and objects, etc.
I wanted to know if there is a template that I could follow as an example, because I do not want to end up doing something that is missing things or getting things unnecessary.
How do I know what should really be in the documentation and what you do not need?
I also found places talking about various types of documentation, the project, the system, the code, the database, the user, anyway ... I could not understand correctly how it should be done, if anyone can give me a light would be great.