Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davecaos/beamdex
Beam pokedex made in Nitrogen
https://github.com/davecaos/beamdex
Last synced: 11 days ago
JSON representation
Beam pokedex made in Nitrogen
- Host: GitHub
- URL: https://github.com/davecaos/beamdex
- Owner: davecaos
- License: apache-2.0
- Created: 2023-09-20T18:52:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-20T23:51:14.000Z (about 1 year ago)
- Last Synced: 2024-10-29T13:01:29.413Z (about 2 months ago)
- Language: JavaScript
- Size: 7.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Beamdex
This is an Erlang web application using the [Nitrogen Web
Framework](https://nitrogenproject.com).Those are the slides of the talk [Modern Clicks (Erlang Fullstack Web Development with Nitrogen](https://github.com/davecaos/beamdex/blob/main/presentation.pdf) for [Elixir Fortaleza Conf 2023](https://elixir.fortal.br/)
# Running
You can start the application with command:
make run_dev
# Config
The rebar.config file controls dependencies and build parameters using the
popular [rebar](http://github.com/rebar/rebar) tool.The `plugins.config` file controls how Nitrogen plugins are handled.
The files in the `etc` directory control application configuration, including
ports, webserver set up, and the like. Please see the files there for
configuration options, or view the Nitrogen documentation.# Code
Dependency libraries (once being built) end up in the `lib` directory.
Source code can be found in `site/src`
Template code is in `site/templates`
Compiled Erlang modules (ebin files) go in `site/ebin`
# Live code reloading
By default Nitrogen comes with an application called [sync](http://github.com/rustyio/sync) which provides automatic code reloading when the related .erl file or .ebin file is updated. To use this, run the following on the Erlang shell:
sync:go().