https://github.com/tejasbubane/yesod-book
My practice while reading yesod-book
https://github.com/tejasbubane/yesod-book
Last synced: about 1 month ago
JSON representation
My practice while reading yesod-book
- Host: GitHub
- URL: https://github.com/tejasbubane/yesod-book
- Owner: tejasbubane
- Created: 2019-12-16T18:23:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T18:24:28.000Z (over 6 years ago)
- Last Synced: 2025-01-13T03:09:32.521Z (over 1 year ago)
- Language: Haskell
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Apps
These are some very basic single file example yesod apps. All taken from the
[yesod book](https://www.yesodweb.com/book-1.6/).
Code is mostly as-is from the book with my own comments and slight modifications in few places while trying things out. This is done for my own `lean by typing code` and should not be treated as any learning resource. Read the book!
This repo contains `stack.yml` which uses system ghc. Install `yesod` in global namespace using:
```sh
stack install yesod yesod-bin
```
Then run each example separately using `runghc` like:
```sh
stack runghc 01-helloworld.hs
```
This will start a server on port [http://localhost:3000](http://localhost:3000).