Elm Fullstack is a tool for developing web services and full-stack web applications. It leverages the Elm programming language and its ecosystem of libraries. As it evolves, Elm Fullstack automates more and more activities in software development that humans had performed in the past.
Elm Fullstack currently offers:
- Persisting and restoring the state of backend Elm apps.
- Migrating the backend state when deploying a new program version: Design Report - Migrations in Elm Fullstack Deployments
- Generating functions to serialize and deserialize Elm values based on type declarations from Elm programs.
- Ports to integrate and interoperate with custom components written in any programming language.
- A single executable file (per operating system) integrating all tools with a command-line interface.
Use this command to run a server and deploy an example app:
elm-fs run-server --public-urls="http://*:5000" --deploy=https://github.com/elm-fullstack/elm-fullstack/tree/cd427019349f3d9d2f5b4c594b34d4e6c3e193cf/implement/example-apps/docker-image-default-app
For a guide on installation and configuration options, see How to Configure and Deploy an Elm Fullstack App.
Releases / Artifacts
elm-fs Executable File
elm-fs executable file contains all the functionality to build apps and operate backend processes. You can download the files from the releases section on GitHub.
If you prefer deploying using docker, use the
elmfullstack/elm-fullstack image from docker hub. The tags are aligned with the version IDs in the CLI executable file.
docker run -p 5000:80 -p 4000:4000 --env "APPSETTING_adminPassword=test" elmfullstack/elm-fullstack
To learn more about these artifacts' interfaces, see How to Configure and Deploy an Elm Fullstack App.
Building from Source
The easiest way to test a change in the source code is to trigger the GitHub action workflow in
.github/workflows/test-and-publish.yml. This workflow gets you the results of automated tests and your version of the executable files. Push to your fork on GitHub to trigger this action.
As we can see in the workflow file, the project uses .NET 6 to build the executable file and run tests. You can download the
dotnet tool from https://dotnet.microsoft.com/download/dotnet to build and test locally.
Rich Chat Room
The rich chat room example app demonstrates features typically found in a chat app, such as user names, message rate-limiting, sound effects, etc. For a detailed description of this app, see the readme file at https://github.com/elm-fullstack/elm-fullstack/blob/main/implement/example-apps/rich-chat-room/readme.md
Elm Editor is a web app for developing Elm programs.
As an integrated development environment, it assists us in reading, writing, and testing Elm programs and in collaborating with other developers.
To see Elm Editor in action, check out the public instance at https://elm-editor.com
To learn more about Elm Editor, see https://github.com/elm-fullstack/elm-fullstack/tree/main/implement/example-apps/elm-editor/readme.md