Northeastern-Electric-Racing / Argos

Our full-stack data visualization tool
GNU Affero General Public License v3.0
1 stars 0 forks source link

Go Rewrite Draft #163

Closed RChandler234 closed 4 months ago

RChandler234 commented 4 months ago

Changes

Got bored in class, sorry if this is a lot.

Followed along with this article. Http server seems to work well. It's using a package called chi to handle the routing, but we could also use that one Jack found called Fiber as a framework. It looks like there's a bit of mixed opinion on what's better, but chi seemed to be a little more favored/ be more lightweight.

I think this structure is probably the most useful thing from this should be able to pretty much mimic what we do in scylla rn, it would probably make sense to move the router stuff into main.go though.

Looks like we could drop in socketio as well, will probably take some more thought to see how we can mimic what Peyton did with the proxy client/server stuff

Checklist

It can be helpful to check the Checks and Files changed tabs. Please review the contributor guide and reach out to your Tech Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.

Closes # (issue #)

Peyton-McKee commented 4 months ago

not using go