Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjansen/gyokuro-todo-backend
An implementation of the Todo-Backend based on Ceylon and gyokuro
https://github.com/bjansen/gyokuro-todo-backend
ceylon demo-app gyokuro todo-backend
Last synced: 21 days ago
JSON representation
An implementation of the Todo-Backend based on Ceylon and gyokuro
- Host: GitHub
- URL: https://github.com/bjansen/gyokuro-todo-backend
- Owner: bjansen
- License: mit
- Created: 2017-06-10T10:14:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-10T15:22:02.000Z (over 7 years ago)
- Last Synced: 2024-10-31T15:47:58.579Z (2 months ago)
- Topics: ceylon, demo-app, gyokuro, todo-backend
- Language: Ceylon
- Size: 46.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gyokuro-todo-backend
An implementation of the [Todo-Backend](http://todobackend.com/) based on [Ceylon](https://ceylon-lang.org/) and [gyokuro](http://www.gyokuro.net).You can [run the reference specs on a live instance](http://todobackend.com/specs/index.html?https://gyokuro-todo-backend.herokuapp.com/todo) to validate this implementation.
## Building and running
```bash
$ git clone https://github.com/bjansen/gyokuro-todo-backend.git
$ cd gyokuro-todo-backend
$ ceylon compile
$ ceylon run gyokuro.demo.todobackend/1.0.0
```The test suite can be run by opening the following URL in your browser:
http://todobackend.com/specs/index.html?http://localhost:8080/todo
## Deploying on Heroku
Create a new project on Heroku, and do the following in the `Settings` part:
* add the config variable `APP_HOSTNAME=.herokuapp.com`
* add the config variable `APP_PORT=80`
* add the buildpack `heroku/java`Then from your machine run the following commands:
```bash
$ ceylon compile
$ ceylon fat-jar gyokuro.demo.todobackend
$ heroku deploy:jar gyokuro.demo.todobackend-1.0.0.jar --app
```