Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 468 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 468 Bytes

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.

Usage

To build the application, simply run:

go install .

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

myapp -dsn /path/to/db

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