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.
- Host: GitHub
- URL: https://github.com/benbjohnson/myapp
- Owner: benbjohnson
- License: apache-2.0
- Created: 2021-05-30T14:25:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-30T14:49:38.000Z (over 4 years ago)
- Last Synced: 2025-04-02T21:05:49.621Z (10 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/