is it possible to create kotlin as external server ?

hello,

i want to create a kotlin app that will act as a server for external app.

lets assume my application name ‘a’ and other application name ‘b’

e.g.

my application (a) will create a server that listening on port 3000 and returns data

http://localhost:3000/getnews

OTHER application (b) will fetch data from my application

http://localhost:3000/getnews

and show the data based on my server

is this possible?

submitted by /u/Educational-Camp-742
[link] [comments]