Tip for macos users using zsh. Put the ENV variable in your ~/.zshrc file with:
Once installed and the server is running via the website instructions the default username and password for a Geoserver is:
User name: admin
The following link is a good starting point for learning Geoserver:
WFS API on Geoserver
You build the request to the Geoserver using ol.format.WFS().writeGetFeature and then sending a get request to the Geoserver. For WFS and WMS you would direct it to these URLs for example (if you were working locally).
The APIs are explained in this URL: