Demo project for GDG Reading Meetup
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)
Just run ./gradlew run
- 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
There is an example of very basic read-only web UI built using kotlinx.html