Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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_routing

pub 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 😀!!