The style of the web API doesn't follow any forms or conventions. For instance, JSON API endpoints are mixed with HTML template serving endpoints. It deserves to be cleaned up. I personally like this guide for suggestions as to naming strategies (as well as several other points it hits home on).
This would mean updating server/routes.go, and CTRL+F'ing the front end to keep any AJAX requests in sync with these updates.
REST API Endpoints
The style of the web API doesn't follow any forms or conventions. For instance, JSON API endpoints are mixed with HTML template serving endpoints. It deserves to be cleaned up. I personally like this guide for suggestions as to naming strategies (as well as several other points it hits home on).
This would mean updating
server/routes.go
, and CTRL+F'ing the front end to keep any AJAX requests in sync with these updates.