Sign inSign up

techhead/learn-to-create-web-applications-using-go

By techhead

•Updated over 6 years ago

Learn to Create Web Applications using Go

Image
0

212

techhead/learn-to-create-web-applications-using-go repository overview

⁠Learn to Create Web Applications using Go [2018, ENG]

Author:
calhoun.io



⁠Run current version inside docker container


$ docker run -it \
    -p 80:3000 \
    techhead/learn-to-create-web-applications-using-go

⁠Development


⁠lesson56

http://pgweb-demo.herokuapp.com/⁠


CREATE TABLE users (
    id SERIAL PRIMARY KEY,
    name TEXT,
    email TEXT NOT NULL
);

CREATE TABLE orders (
    id SERIAL PRIMARY KEY,
    user_id INT NOT NULL,
    amount INT,
    description TEXT
)

⁠lesson70
$ cd models
$ go test .

⁠lesson 120

http://localhost:3000/galleries/new⁠


⁠lesson 140: CSRF

http://github.com/gorilla/csrf⁠

$ go get github.com/gorilla/csrf

⁠lesson 144: Function options for services
$ go run main.go config.go

Marley

Tag summary

Content type

Image

Digest

Size

311.6 MB

Last updated

over 6 years ago

docker pull techhead/learn-to-create-web-applications-using-go