Skip to content
Demo project for GDG Reading Meetup
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle
webpage-sample.png

README.md

kwitter-demo

Demo project for GDG Reading Meetup

What is it?

It's a simple kwitter REST server - no ads, no registration, no UI, nothing really

It allows to list all kweets, retrieve by id, create, by user handle, search and even view kweets in the browser in classy 1990 interface(no gifs tho)

How to start this thing?

Just run ./gradlew run

Created using

  • kotlin 1.3.21
  • javalin 2.6.0
  • kotlinx.html 0.6.12

Useful commands (using httpie)

  • Get all kweets - http :7777
  • Get kweet by id http :7777/3
  • Get ruxmind's kweets - http :7777/u/ruxmind
  • Post kweet http POST :7777/ handle=ruxmind text="What a kool startup"
  • Search by text http :7777/search/startup

For simple web UI open localhost:7777/web

Web UI

There is an example of very basic read-only web UI built using kotlinx.html

sample webpage

Links

You can’t perform that action at this time.