The WeeBe application is a social media-type app built on Ktor framework

Last update: Aug 5, 2022

WellBe

Introduction

The WeeBe application is a social media-type app built on Ktor framework that allows users to exchange various content connected with mental health, motivation, psychology, and improving oneself. Users can share posts with texts, images, videos, and links, as well as discuss the content in the comment section

See our tutorial posts:

Part 1 - How to Build an Android Wellness App with the Ktor Framework. Part I: Backend

You can see out wellbe_android, and notice how Ktor works on client side, with same plugins principes.

Ktor is an asynchronous framework for creating microservices, web applications, and more.

  • Kotlin and Coroutines
  • Lightweight and Flexible
  • Easy to set up
  • Easy to deploy and maintain
  • Assemble project only with plugins which you need
  • Can fully replace Spring Boot
  • Growing community, sufficient documentation

Features include:

  • Registration/Login
  • Update user/avatar
  • Create/Edit/Remove post
  • Feed/Popular/Favourite/My posts
  • Like/Unlike post
  • Chats list/Join room/Leave Room
  • Send message (Notify chat members by WebSockets)
  • Search Filter and Pagination for posts requests
  • Deploy with Docker or Amazon Elastic Beanstalk with Fat JAR

Ktor Features include:

Building

Before launching you need to adjust application.conf file :

  • on demand change application port ktor { deployment { port = 8082 port = ${?PORT} }
  • setup db with your own URl, Username, Password db { jdbcUrl = "jdbc:mysql://***********" jdbcDriver = "com.mysql.cj.jdbc.Driver" dbUser = "***********" dbPassword = "***********" }
  • provide secret key for jwtToken jwt { secret = "***********"
  • replace AWS credentials with you own aws{ accessKey = "***********" secretKey = "***********" }

With IntelliJ IDEA

The easiest way to build is to install IntelliJ IDEA with Gradle. Once installed, then you can import the project into IntelliJ IDEA:

Import project with Git and Run from WellBeApplication main enty point

Then, Gradle will do everything for you.

With Gradle

https://ktor.io/docs/fatjar.html

GitHub

https://github.com/perpetio/wellbe_backend
You might also like...

Firestore Kotlin Client with strict (and relaxed) type-system.

Firestore Kotlin Client with strict (and relaxed) type-system.

Mar 4, 2022

Nethra - Proof of concept for a minimal core language based on dependant function type and dependant pair

Nethra Terms n in Ident i in Int c in Char e ::= Type_i -- T

May 3, 2022

Kotlin extension function provides a facility to "add" methods to class without inheriting a class or using any type of design pattern

What is Kotlin Extension Function ? Kotlin extension function provides a facility to "add" methods to class without inheriting a class or using any ty

Apr 19, 2022

Bring type-safety to your GitHub actions' API!

Bring type-safety to your GitHub actions' API!

GitHub Actions typing Bring type-safety to your GitHub actions' API! This is a GitHub action that validates your action's type specs (action-types.y(a

Aug 8, 2022

Android Note app that uses the "ktor-note-app" backend

KtorNoteApp Android Notes app that uses Ktor back end server Technologies employed: Kotlin MVVM Coroutines Custom REST API build with Ktor Responds to

Jul 25, 2022

Shoppe - Kotlin and Ktor app, which can easily be deployed to Heroku

[ 🚧 Work in progress 👷‍♀️ ⛏ 👷 🔧️ 👷 🔧 🚧 ] Shoppe Kotlin Multiplatform App

Jul 12, 2022

A small backend for the Thinkrchive app written in Kotlin with Ktor

A small backend for the Thinkrchive app written in Kotlin with Ktor. It uses Postgresql with a few requests and JWT authentication for admins.

Aug 8, 2022

Sample Ktor app using a functional stack

samstack This is a template project you can clone and use as a basis for your own Kotlin based microservices. This application structure is my persona

Aug 2, 2022

Sample Ktor app using a functional stack

samstack This is a template project you can clone and use as a basis for your own Kotlin based microservices. This application structure is my persona

Jul 21, 2022
Mock up social media android application created to interact with a backend Java server using GraphQL.

The Community Board Project Authorship: author: dnglokpor date: may 2022 Project Summary: The Community Board Project consists of a Java Spring Boot b

May 17, 2022
Integration Testing Kotlin Multiplatform Kata for Kotlin Developers. The main goal is to practice integration testing using Ktor and Ktor Client Mock
Integration Testing Kotlin Multiplatform Kata for Kotlin Developers. The main goal is to practice integration testing using Ktor and Ktor Client Mock

This kata is a Kotlin multiplatform version of the kata KataTODOApiClientKotlin of Karumi. We are here to practice integration testing using HTTP stub

Jun 16, 2022
KTor-Client---Android - The essence of KTor Client for network calls

KTor Client - Android This project encompasses the essence of KTor Client for ne

Jan 18, 2022
A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations.
A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations.

kotlin-ktor-rest-api A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations. F

Jul 15, 2022
Ktor is an asynchronous framework for creating microservices, web applications and more.
Ktor is an asynchronous framework for creating microservices, web applications and more.

ktor-sample Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. Application

Jan 22, 2022
Firebase Authentication plugin for Ktor framework.

Firebase Authentication is a Ktor plugin which verifies requests authorized by a Firebase Auth Id Token.

Jul 16, 2022
Sample Social Login Project of Spring Boot and Kotlin

Sample-Spring-Boot-Social-Kotlin Sample Social Login Project of Spring Boot and Kotlin dependencies dependencies { implementation("org.springframewor

Oct 11, 2021
The sample App implements type safe SQL by JOOQ & DB version control by Flyway

The sample App implements type safe SQL by JOOQ & DB version control by Flyway Setup DB(PostgreSQL) $ docker compose up -d Migration $ ./gradlew flywa

Jan 1, 2022
A media player, currently only for Android, that allows you to play songs in background for free
A media player, currently only for Android, that allows you to play songs in background for free

Just Listen A music player currently only for android. It is using Audius public APIs to display and get the playlists/songs. Available on google play

Jul 31, 2022
Esito ambition is to be your return type for suspending functions.

Esito ambition is to be your return type for suspending functions.

Jun 9, 2022