how to convert datapack into mod

not sure if this is the right place to ask, but what are the changes I would have to make to my datapack to make it work in the fabric loader; (for context, modrinth has the option for this). also knowing how to include my resources and assets would be useful. any ideas?
Continue to help post