This has been deprecated and archived in favour of Architectury Templates, which you can use for easier set-up and more up-to-date dependencies. In your case, you will likely want the "forge" template.
...using Architectury Loom
For setup instructions please see the fabric wiki page that relates to the IDE that you are using.
This template, much like the original fabric-example-mod, is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.