- Lesson 0: Setup project:'Hello, World'
details
1. We are using an MVC architecture (module-DB, view-front end, controller-back end).2. REST API connects controller and view part using AJAX.
3. Click on F5 to run and debug (plugin for VS Code has to be installed)
4. Install gorilla/mux by typing `go get -u github.com/gorilla.mux`
5. Use F1 in VS Code to add gorilla/mux
6. Add a `router` to interract with HTPP requests
7. Add IndexHandler function (has access to any part of the HTTM page)
8. `CTRL+s` to update the libraries
9. List_of_TCP_and_UDP_port_numbers
10. LINUX users: run `go build` , the run from the current directory (e.g. `sudo ./yourexample`)
11. Use F5 in VS Code to select environment