/Kanary-Mini-Twitter-Clone

This is a proof of concept RestAPI written in Kotlin and built with Kanary web framework

Primary LanguageKotlinMIT LicenseMIT

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

alt text

Quickstart

Deploy using Heroku:

  • Download and cd into the directory.
$ cd Kanary-Mini-Twitter-Clone
  • Create a new git project and add all the files to it
$ git add .
  • Commit all the files to git
$ git commit -m "init"
  • Login to Heroku
$ heroku login
  • Create a new Heroku project and take note of the url
$ heroku create
  • Push everything to Heroku and your new RestAPI will be available at the url you copied earlier
$ 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