Connect Retrofit to NodeJS server
I’m trying to connect my Koltin project to the Nodejs backend server using Retrofit but I get a white blank screen whenever I run the mobile app.
here is the class code
package tn.esprit.t1.model
data class Catastrophe(
val _id: Id,
val titre: String,
val type: String,
val tsunami: Int,
val description: String,
val date: Date,
val radius: Double,
val magnitude: Double,
val latitudeDeCatastrophe: Double,
val longitudeDeCatastrophe: Double,
val createdAt: Date,
val updatedAt: Date
)
and here...