Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfairbank/programming-elm.com
Source for programming-elm.com
https://github.com/jfairbank/programming-elm.com
Last synced: 5 days ago
JSON representation
Source for programming-elm.com
- Host: GitHub
- URL: https://github.com/jfairbank/programming-elm.com
- Owner: jfairbank
- Created: 2017-12-29T22:58:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:41:08.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T18:36:25.402Z (3 months ago)
- Language: Elm
- Homepage: https://programming-elm.com
- Size: 8.21 MB
- Stars: 19
- Watchers: 7
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# programming-elm.com
This repo contains the source for [programming-elm.com](https://programming-elm.com), the accompanying website and API to my book [_Programming Elm_](https://pragprog.com/book/jfelm/programming-elm) from the Pragmatic Programmers.
## Run API Locally
As you work through the book, I encourage you to use the API endpoints provided from the server at [programming-elm.com](https://programming-elm.com) for simplicity's sake. However, if you would prefer to run the server locally, you may do so by following these instructions:
```
npm install
npm start
```The server should start on port 5000:
```
Server listening at http://localhost:5000
```Then, as you follow along with the book, replace the protocol and domain for the HTTP and WebSocket URLs from the code samples like so:
```
https://programming-elm.com ==> http://localhost:5000wss://programming-elm.com ==> ws://localhost:5000
```