norrisboat / ZiuqServer

Ktor server for quiz app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ziuq Server

Yes, Ziuq is Quiz spelled backward 😀. This is a quiz server backend implementation with Ktor. An example usage is the Ziuq Mobile App built with Kotlin Multiplatform.

Build

⚙️ Architecture

The database of choice is Postgres. Koin is used for dependency injection to wire things easily. Exposed is used as the SQL framework.

📱Features

  • User authentication
  • Solo Quiz
  • Live Quiz using websockets

💾 Installation

  1. Clone the repository.
  2. Open the project in Android Studio.
  3. Use database.sql as a guide to setup database.
  4. Replace Config variables({{port}},{{db_url}},{{username}},{{password}}).
  5. Build and run the app.

❤️ Built with

  • Koin - The pragmatic Kotlin & Kotlin Multiplatform Dependency Injection framework.
  • Kotlinx-datetime - KotlinX multiplatform date/time library.
  • Kotlinx-serilization - Kotlin multiplatform / multi-format serialization.
  • PostgreSQL JDBC Driver - An Open source JDBC driver written in Pure Java (Type 4), which communicates using the PostgreSQL native network protocol
  • Exposed - Kotlin SQL Framework
  • HikariCP - A solid, high-performance, JDBC connection pool at last
  • jBCrypt - implementation of OpenBSD's Blowfish password hashing code

🙋🏻‍♂️ Say Hi

twitter

📜 License

This project is licensed under the MIT License.

About

Ktor server for quiz app


Languages

Language:Kotlin 99.9%Language:HTML 0.1%