Skip to content

Commit d8e8c32

Browse files
committed
Bump version
1 parent 44c7ce9 commit d8e8c32

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ Joy is a full stack web framework written in [janet](https://github.com/janet-la
55
```clojure
66
(use joy)
77

8+
(route :get "/" :home)
89
(defn home [request]
910
(text/plain "You found joy!"))
1011

11-
(def routes (routes [:get "/" home]))
12-
13-
(def app (app {:routes routes}))
12+
(def app (app))
1413

1514
(server app 9001)
1615
```
@@ -81,10 +80,10 @@ In joy there are no ORMs, no classes, and no objects, just functions that take i
8180
Let's make a route file that corresponds to the table from earlier
8281

8382
```sh
84-
joy create route account
83+
joy create route accounts
8584
```
8685

87-
Those commands have created another new file: `routes/account.janet` and updated your `main.janet` file with an import statement so the account routes get set up.
86+
Those commands have created another new file: `routes/accounts.janet` and updated your `main.janet` file with an import statement so the account routes get set up.
8887

8988
Go ahead and check out the new `account` routes in the browser now: `http://localhost:8000/accounts`
9089

src/joy/helper.janet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@
285285
(or (nil? val) (empty? val)))
286286

287287

288-
(def version "0.8.0")
288+
(def version "0.9.0")

0 commit comments

Comments
 (0)