https://github.com/floriank/oeffi-server
A simple server thath uses the oeffi-gem
https://github.com/floriank/oeffi-server
Last synced: 3 months ago
JSON representation
A simple server thath uses the oeffi-gem
- Host: GitHub
- URL: https://github.com/floriank/oeffi-server
- Owner: floriank
- License: gpl-3.0
- Created: 2013-10-28T16:57:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T01:14:18.000Z (over 2 years ago)
- Last Synced: 2025-02-27T18:44:26.508Z (3 months ago)
- Language: Ruby
- Size: 462 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
oeffi-server
============The JRuby implementation of a small server that utilizes the oeffi-gem, based on the public transport enabler library by Andreas Schildbach, which powers [Oeffi](http://oeffi.schildbach.de).
Requires JRuby.
To start the server:
1. clone the project
2. bundle
3. Start the server:
````
trinidad -r config.ru
````
4. curl (or [httpie](https://github.com/jkbr/httpie)) the server:
```
curl http://localhost:3000
```
5. The automcomplete can be found as a POST to /suggest