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

https://github.com/osdevisnot/sorvor-minimal

demonstrate usage of sørvør with minimal boilerplate
https://github.com/osdevisnot/sorvor-minimal

Last synced: 28 days ago
JSON representation

demonstrate usage of sørvør with minimal boilerplate

Awesome Lists containing this project

README

          

# sorvor-minimal

This example demonstrates usage of sørvør with minimal boilerplate.

The `public/index.html` file includes an annotated reference to `public/index.js`.

The `esbuild` annotation in `public/index.html` instructs `sørvør` to build `public/index.js` file with `esbuild`.

## prerequisites

`sørvør` should be installed, preferably using [go binaries](https://gobinaries.com/):

```bash
curl -sf https://gobinaries.com/osdevisnot/sorvor | sh
```

## available commands

`sorvor --minify --sourcemap` - build the project with minification and sourcemaps

`sorvor --serve` - starts a live reload dev server at [http://localhost:1234](http://localhost:1234), and rebuilds the index.js file on change.