https://github.com/olucurious/kanary-mini-twitter-clone
This is a proof of concept RestAPI written in Kotlin and built with Kanary web framework
https://github.com/olucurious/kanary-mini-twitter-clone
kotlin rest-api web
Last synced: about 1 year ago
JSON representation
This is a proof of concept RestAPI written in Kotlin and built with Kanary web framework
- Host: GitHub
- URL: https://github.com/olucurious/kanary-mini-twitter-clone
- Owner: olucurious
- License: mit
- Created: 2017-06-09T14:31:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-13T08:35:15.000Z (about 9 years ago)
- Last Synced: 2025-04-09T14:04:42.821Z (about 1 year ago)
- Topics: kotlin, rest-api, web
- Language: Kotlin
- Homepage: https://cwitter.curious.com.ng/
- Size: 63.5 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kanary-Mini-Twitter-Clone
This is a proof of concept RestAPI written in Kotlin and built with Kanary web framework
AngularJS frontend is here: https://github.com/olucurious/cwitter
Live demo: https://cwitter.curious.com.ng

Quickstart
==========
Deploy using Heroku:
* Download and cd into the directory.
```sh
$ cd Kanary-Mini-Twitter-Clone
```
* Create a new git project and add all the files to it
```sh
$ git add .
```
* Commit all the files to git
```sh
$ git commit -m "init"
```
* Login to Heroku
```sh
$ heroku login
```
* Create a new Heroku project and take note of the url
```sh
$ heroku create
```
* Push everything to Heroku and your new RestAPI will be available at the url you copied earlier
```sh
$ git push heroku master
```
NOTE: Heroku's storage is ephemeral, so the sqlite db will be wiped out after a while, you should use Heroku postgres or a remote database for more serious stuff