I would recommend reading this if you are interested in building your first addon:
https://www.wowace.com/projects/ace3...etting-started
It explains a simple process which is based on Ace3. If you don't like the idea of using libraries, you might need to find some other resources.
Here on Wowhead, at the bottom of the page, there are some useful links including tutorials on lua. GL.