Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomaka/example-tiny-http
Example of web server in Rust
https://github.com/tomaka/example-tiny-http
Last synced: about 2 months ago
JSON representation
Example of web server in Rust
- Host: GitHub
- URL: https://github.com/tomaka/example-tiny-http
- Owner: tomaka
- Created: 2015-05-04T13:36:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T14:49:30.000Z (over 9 years ago)
- Last Synced: 2024-10-15T17:23:07.135Z (2 months ago)
- Language: Rust
- Size: 184 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of a "flat" website with tiny-http
[![Build Status](https://travis-ci.org/tomaka/example-tiny-http.svg?branch=master)](https://travis-ci.org/tomaka/example-tiny-http)
This is an example of a website written in Rust that doesn't use callbacks.
Uses tiny-http, mustache, postgresql, and some other utility libraries.## Heroku
The site is currently deployed at [https://example-tiny-http.herokuapp.com/](https://example-tiny-http.herokuapp.com/).
It is autodeployed by travis every time a build succeeds (see the `.travis.yml` file).You must set the following config variables in Heroku for it to work:
```
BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
DATABASE=
```