tangled
alpha
login
or
join now
keii.dev
/
wisp
3
fork
atom
🧚 A practical web framework for Gleam
3
fork
atom
overview
issues
pulls
pipelines
Make deps explicit
Louis Pilfold
2 years ago
9a431d57
d2186904
+20
-4
10 changed files
expand all
collapse all
unified
split
examples
0-hello-world
gleam.toml
1-routing
gleam.toml
2-working-with-form-data
gleam.toml
3-working-with-json
gleam.toml
4-working-with-other-formats
gleam.toml
5-using-a-database
gleam.toml
6-serving-static-assets
gleam.toml
7-logging
gleam.toml
8-working-with-cookies
gleam.toml
9-configuring-default-responses
gleam.toml
+2
-2
examples/0-hello-world/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
-
gleam_erlang = "~> 0.22"
10
10
-
mist = "~> 0.13"
9
9
+
gleam_erlang = "~> 0.23"
10
10
+
mist = "~> 0.14"
11
11
12
12
[dev-dependencies]
13
13
gleeunit = "~> 0.10"
+2
examples/1-routing/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
+
gleam_erlang = "~> 0.23"
10
10
+
mist = "~> 0.14"
9
11
10
12
[dev-dependencies]
11
13
gleeunit = "~> 0.10"
+2
examples/2-working-with-form-data/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
+
gleam_erlang = "~> 0.23"
10
10
+
mist = "~> 0.14"
9
11
10
12
[dev-dependencies]
11
13
gleeunit = "~> 0.10"
+2
examples/3-working-with-json/gleam.toml
···
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
gleam_json = "~> 0.6"
10
10
+
gleam_erlang = "~> 0.23"
11
11
+
mist = "~> 0.14"
10
12
11
13
[dev-dependencies]
12
14
gleeunit = "~> 0.10"
+2
examples/4-working-with-other-formats/gleam.toml
···
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
gsv = "~> 0.1"
10
10
+
gleam_erlang = "~> 0.23"
11
11
+
mist = "~> 0.14"
10
12
11
13
[dev-dependencies]
12
14
gleeunit = "~> 0.10"
+2
examples/5-using-a-database/gleam.toml
···
8
8
wisp = { path = "../.." }
9
9
gleam_json = "~> 0.6"
10
10
tiny_database = { path = "../utilities/tiny_database" }
11
11
+
gleam_erlang = "~> 0.23"
12
12
+
mist = "~> 0.14"
11
13
12
14
[dev-dependencies]
13
15
gleeunit = "~> 0.10"
+2
examples/6-serving-static-assets/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
+
gleam_erlang = "~> 0.23"
10
10
+
mist = "~> 0.14"
9
11
10
12
[dev-dependencies]
11
13
gleeunit = "~> 0.10"
+2
examples/7-logging/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
+
gleam_erlang = "~> 0.23"
10
10
+
mist = "~> 0.14"
9
11
10
12
[dev-dependencies]
11
13
gleeunit = "~> 0.10"
+2
examples/8-working-with-cookies/gleam.toml
···
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
gleam_crypto = "~> 0.4"
10
10
+
gleam_erlang = "~> 0.23"
11
11
+
mist = "~> 0.14"
10
12
11
13
[dev-dependencies]
12
14
gleeunit = "~> 0.10"
+2
-2
examples/9-configuring-default-responses/gleam.toml
···
6
6
[dependencies]
7
7
gleam_stdlib = "~> 0.30"
8
8
wisp = { path = "../.." }
9
9
-
mist = "~> 0.13"
10
10
-
gleam_erlang = "~> 0.22"
9
9
+
mist = "~> 0.14"
10
10
+
gleam_erlang = "~> 0.23"
11
11
12
12
[dev-dependencies]
13
13
gleeunit = "~> 0.10"