You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 2 Next »
05 Sep 2024
Tyler Hill
Josh
Item
Notes
Go resources
Get the API team role in channels & roles
Resources are in the API announcements channel
Go
Gin (routing library)
Go MongoDB Driver
ChromeDP (for web scraping)
Video resources (more lengthy)
Nebula API overview
server.go starts up
server.go
uses CORS and middleware (logging)
route http requests to controllers based on the path
Ex. /course routes to course.go which routes based on the rest of the path. Course search is one of these:
/course
course.go
validate query search and parameters, send error otherwise
talk to MongoDB to get results
run
controllers read from MongoDB and adjust it to the requested format using a response format