Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emarifer/wisp_routing
A demo application of Gleam's Wisp framework with the addition of TailwindCss in the served HTML
https://github.com/emarifer/wisp_routing
beam-vm erlang gleam gleam-lang wisp wisp-framework
Last synced: 14 days ago
JSON representation
A demo application of Gleam's Wisp framework with the addition of TailwindCss in the served HTML
- Host: GitHub
- URL: https://github.com/emarifer/wisp_routing
- Owner: emarifer
- License: mit
- Created: 2024-12-26T20:35:47.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2024-12-26T21:03:29.000Z (14 days ago)
- Last Synced: 2024-12-26T22:17:15.711Z (14 days ago)
- Topics: beam-vm, erlang, gleam, gleam-lang, wisp, wisp-framework
- Language: Gleam
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wisp_routing
### A demo application of Gleam's `Wisp` framework with the addition of TailwindCss in the served HTML
![GitHub License](https://img.shields.io/github/license/emarifer/wisp_routing)
```sh
gleam add wisp_routing@1
```
```gleam
import wisp_routingpub fn main() {
// TODO: An example of the project in use
}
```Further documentation can be found at .
>[!NOTE]
>***Before running the application you must install the JavaScript dependencies to have `TaildwindCss` (`NodeJs` is required). Run the following commands in the project folder:***
```
`$ npm i # to install the dependencies``$ npm run watch-css # leave Tailwindcss running in watch mode`
`$ npm run build-css-prod # building minified CSS for production`
```## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```
---## Happy coding 😀!!