This project acts as a backend to the zhi-dao android app

Overview

Zhi Dao (to-know)

This project acts as backend to the Zhi-Dao android app (currently in progress) which is a restaurants guide app.

The main purpose of this project is to Nairobi restaurants' data from a website and present the data in a consumable form.

Tech Stack

This project utilizes several tech stack for example:

  • Skrapeit A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered).
  • Coroutines Kotlin library for asynchronous programming
  • Kotlinx Serialization.Kotlin Serialization is a cross-platform and multi-format framework for data serialization—converting trees of objects to strings, byte arrays, or other serial representations and back. Kotlin Serialization fully supports and enforces the Kotlin type system, making sure only valid objects can be deserialized.
  • Google Truth Fluent assertions for Java and Android

Requirements

  1. Jdk 8+
  2. Kotlin version 1.6.20
  3. Gradle

Usage

Currently, the project is intended to be integrated with the android-app rather than it being a standalone project. Nonetheless, the project is fit to be used standalone. All you have to do is load the library in your project, and you are good to go. For example, in build.gradle.kts

repositories {
maven{ url = uri("https://jitpack.io")}

}

dependencies {
implementation("com.github.GibsonRuitiari:Zhi-Dao-Backend:1.0.1")

}

Example [Fetch all cuisines offered by Restaurants in Nairobi]

fun main() {
    runBlocking {
        // use the Restaurants() as the entry point
       val popularCuisines= Restaurants().getAllPopularCuisines()
    }

}

License

Copyright 2022 Gibson Ruitiari

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You might also like...
🧙 Sharding backend infrastructure for Nino v2, handles as a sharding operator for Nino.

shibe 🧙 Sharding backend infrastructure for Nino v2, handles as a sharding operator for Nino. Why? I feel like this was needed because I wanted to ke

Kotlin microservices with REST, and gRPC using BFF pattern. This repository contains backend services. Everything is dockerized and ready to
Kotlin microservices with REST, and gRPC using BFF pattern. This repository contains backend services. Everything is dockerized and ready to "Go" actually "Kotlin" :-)

Microservices Kotlin gRPC Deployed in EC2, Check it out! This repo contains microservices written in Kotlin with BFF pattern for performing CRUD opera

Blog Backend Api built with Kotlin, Springboot and AWS

Kotlin, Spring Boot, MySQL, JPA, Hibernate Rest API for Blogs A Restful CRUD API using Kotlin, Spring Boot, Mysql, JPA and Hibernate hosted on AWS Ela

Backend coding challenge using Kotlin and Ktor

Backend Coding Challenge We appreciate you taking the time to participate and su

Kbackend - A simple backend library for creating backends in Kotlin/Java

kbackend A simple backend library for creating backends in Kotlin/Java Setup Thi

Trawler - Trawler is a BaaS system. Backend as a service

Trawler is a BaaS system. Backend as a service. BaaS Generate REST and GraphQL f

A backend service that generates a random 32-chars length message and its sha256 hashcode and put them to DB
A backend service that generates a random 32-chars length message and its sha256 hashcode and put them to DB

This is an Android application in which a user can ask the server to generate a random message and its sha256, and ask to obtain this info from the server.

Backend API Server for CS-Broker ( 소프트웨어 마에스트로 13기 - 팀 몬스테라 )
Backend API Server for CS-Broker ( 소프트웨어 마에스트로 13기 - 팀 몬스테라 )

CS-Broker CS 문제를 공부하고 풀이할 수 있는 CS Broker 서비스를 위한 서버입니다. 사용 기술 Spring Boot, Kotlin, Gradle, JPA, Docker, Redis, MariaDB, AWS Infra Structure 컴포넌트 구성도 C

Releases(1.0.2)
Owner
8BitsLives .❤️
Just another automation freak
8BitsLives .❤️
Backend-aio - A ktor based ready to use backend

BackendAIO A ktor based ready to use backend BackendAIO is a project made to hel

Fabrizio Scarponi 2 Jan 24, 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

Chris Athanas 2 Jul 25, 2022
A sample skeleton backend app built using Spring Boot kotlin, Expedia Kotlin Graphql, Reactive Web that can be deployed to Google App Engine Flexible environmennt

spring-kotlin-gql-gae This is a sample skeleton of a backend app that was built using: Spring Boot(Kotlin) Reactive Web Sprinng Data R2DBC with MYSQL

Dario Mungoi 7 Sep 17, 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.

Thinkrchive 6 Dec 12, 2022
Android login spring - Android login against spring backend

Android Jetpack Compose login implementation with JWT tokens against our own bac

null 1 Feb 13, 2022
📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.

NotyKT ??️ NotyKT is the complete Kotlin-stack note taking ??️ application ?? built to demonstrate a use of Kotlin programming language in server-side

Shreyas Patil 1.4k Dec 26, 2022
Kotrlin Programming Language Cross-Platform Development which includes Android, iOS and Backend. Pretty much everwhere.

Kotlin-Everywhere: Kotlin Programming Language Cross-Platform Development This is still a WIP but the idea is to create a tiny KOTLIN project that cou

Fernando Cejas 31 Aug 9, 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

Delwys Glokpor 1 May 17, 2022
It is a repository containing backend structure for Ktor.

Backend Architecture with Ktor + KMongo This project contains, Authentication using Jwt Database Layer (KMongo - Orm for MongoDB) Routing Advanced Rou

Himanshu Singh 56 Dec 28, 2022
Kotlin backend based on the Clean Architecture principles. Ktor, JWT, Exposed, Flyway, KGraphQL/GraphQL generated endpoints, Gradle.

Kotlin Clean Architecture Backend Kotlin backend based on the Clean Architecture principles. The application is separated into three modules: Domain,

null 255 Jan 3, 2023