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

https://github.com/benbjohnson/myapp

An simple application with an HTTP server & SQLite database.
https://github.com/benbjohnson/myapp

Last synced: 9 months ago
JSON representation

An simple application with an HTTP server & SQLite database.

Awesome Lists containing this project

README

          

myapp
=====

This application is used as an example HTTP/SQLite application for [Litestream][]
tutorials. It simply maintains a count of HTTP requests and persists it to
a SQLite database.

[Litestream]: http://litestream.io

## Usage

To build the application, simply run:

```sh
go install .
```

Then run the application and specify the location of the SQLite database:

```sh
myapp -dsn /path/to/db
```

The application is now running on http://localhost:8080/