Skip to content

OmyDaGreat/GuptaRealty

Repository files navigation

Gupta Realty

The website for First Team’s Gupta Realty, built through Kotlin Multiplatform with a Kobweb frontend and an http4k backend.

As a template configurable through the application itself or through code, feel free to use this project as a basis for your own site. The template for this own project, including the unique tech stack, can be found at DynamicSiteTemplate. Feel free to contribute!

Kotlin Docker

Architecture

This is a single-module project with two targets:

JavaScript - Kobweb Frontend

  • Location: site/src/jsMain

  • Compiles to JavaScript and fed to the backend

  • Includes an "admin" section for managing content from the backend

JVM - http4k Backend

  • Location: site/src/jvmMain

  • Chosen over Kobweb’s built-in Ktor server for more control + better syntax

  • Serves the frontend files while providing the API endpoints

Project Setup

Docker

  • Use the provided docker-compose.yml as a base through GitHub or use the maleficmarauder/guptarealty image from Docker Hub.

  • Much simpler setup, though with a lot less options for configuration

Git

  • Clone the repo and open in IntelliJ IDEA or Android Studio

  • Provides more control than the Docker setup, such as the ability to edit Kobweb site settings

License

  • This project is licensed under the MIT License. See the LICENSE file for details.

About

A fully fleshed-out real estate site

Resources

Stars

Watchers

Forks

Contributors

Languages