All Projects → Jalgaon-CoHelp → api-service

Jalgaon-CoHelp / api-service

Licence: MIT license
The REST API backend server for the Jalgaon CoHelp application. Built with Kotlin Ktor.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to api-service

COVID-19-Datasets
Novel Coronavirus (COVID-19) Cases for India, provided by University of Kalyani.
Stars: ✭ 19 (-26.92%)
Mutual labels:  covid-19, covid19, covid-19-india
instacart-delivery-slot-finder
Mac Script that notifies you once a delivery slot in available on Instacart
Stars: ✭ 18 (-30.77%)
Mutual labels:  pandemic, covid-19, covid19
covid-xprize
Open-source repository containing examples and documentation for the Cognizant XPRIZE Pandemic Response Challenge
Stars: ✭ 36 (+38.46%)
Mutual labels:  pandemic, covid-19, covid19
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+369.23%)
Mutual labels:  covid-19, covid19, covid-19-india
covid-19
COVID-19 World is yet another Project to build a Dashboard like app to showcase the data related to the COVID-19(Corona Virus).
Stars: ✭ 28 (+7.69%)
Mutual labels:  covid-19, covid19, covid-19-india
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (+80.77%)
Mutual labels:  covid-19, covid19, covid-19-india
covid19 statistics
Aplicação para acompanhamento das estatísticas do COVID-19 no Brasil 🦠
Stars: ✭ 34 (+30.77%)
Mutual labels:  pandemic, covid-19, covid19
aarogya seva
A beautiful 😍 covid-19 app with self - assessment and more.
Stars: ✭ 118 (+353.85%)
Mutual labels:  covid-19, covid19, covid-19-india
COVID breakdown
COVID-19 statistics in Taiwan
Stars: ✭ 15 (-42.31%)
Mutual labels:  pandemic, covid-19, covid19
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+65.38%)
Mutual labels:  covid-19, covid19
Remote-Work-and-Study-Resources
Free services, tools, articles and other resources for remote workers and distance learners
Stars: ✭ 49 (+88.46%)
Mutual labels:  pandemic, covid-19
open-data-covid-19
Open Data Repository for the Covid-19 dataset.
Stars: ✭ 19 (-26.92%)
Mutual labels:  covid-19, covid19
covid-19-status
Menu bar widget for MacOS with COVID-19 statistics
Stars: ✭ 50 (+92.31%)
Mutual labels:  pandemic, covid-19
Covid19Tracker
A Robinhood style COVID-19 🦠 Android tracking app for the US. Open source and built with Kotlin.
Stars: ✭ 65 (+150%)
Mutual labels:  pandemic, covid-19
covid19
This API provides updated real-time data on coronavirus cases from the worldometers page, provided by the most reputable organizations and statistical offices in the world.
Stars: ✭ 77 (+196.15%)
Mutual labels:  pandemic, covid-19
web-coronavirus-stats
🌎 🦠 😷 Coronavirus disease (COVID-2019) global / world / country statistics and reports
Stars: ✭ 2 (-92.31%)
Mutual labels:  pandemic, covid-19
Covid-19-analysis
Analysis with Covid-19 data
Stars: ✭ 49 (+88.46%)
Mutual labels:  pandemic, covid-19
covid19-vaccine-tracker
Researchers around the world are trying to develop safe and effective vaccines against SARS-CoV-2, the virus that causes COVID-19. Here's their progress so far.
Stars: ✭ 12 (-53.85%)
Mutual labels:  pandemic, covid-19
ToDometer Multiplatform
WIP Kotlin Multiplatform project: A meter to-do list built with Android Jetpack, Compose UI Multiplatform, Wear Compose, SQLDelight, Koin Multiplatform, SwiftUI, Ktor Server / Client, Exposed...
Stars: ✭ 145 (+457.69%)
Mutual labels:  sqldelight, ktor
RocketXDelight-Playground
Native Android application built with Kotlin and Jetpack Compose. This project also illustrates the usage of advanced libraries such as Ktor, SqlDelight, Hilt, etc with the recommended practices and Unit Tests.
Stars: ✭ 37 (+42.31%)
Mutual labels:  sqldelight, ktor

API Service - Jalgaon CoHelp

The REST API backend server for the Jalgaon CoHelp application.

CI

🛠 Technology / Tools used

  • Kotlin: Programming language for development
  • Ktor: Backend development framework
  • PostgreSQL: For data storage
  • Kodein: Dependency Injection Framework
  • Liquibase: Migrations and DB change version control
  • SQLDelight: Generates typesafe Kotlin APIs from SQL
  • Spotless: Lint checker

📙 Overview of Codebase

It is a multi-module gradle project and includes below modules.

  • core: Core Business Logic
  • port:db Single source of truth (data)
  • api: Exposes public APIs
  • migration: Handles database migrations and control

There's a main application module:

  • application: This is a main module from where application is executed. It includes app configuration, management and Dependency Injection Bindings.

🖥 Development Setup

🗄️ Database Setup

  • Download and install the latest PostgreSQL package as per your system need.
  • After successful installation, create database for this project. For e.g. create a database named jalgaoncohelp_dev.

⚙️ Project Setup

  • You will require latest stable version of JetBrains IntelliJ Idea IDE to build and run the server application. You can install the latest version from here.
  • Import project in IntelliJ IDE.
  • Use existing Gradle wrapper for syncing project.
  • Build 🔨 the project.

✈️ Running the Application

  • Set up environment variables for database credentials as following with valid values as per your setup.
export SECRET_KEY=ANY_RANDOM_SECRET

export DATABASE_NAME=jalgaoncohelp_dev
export DATABASE_HOST=localhost
export DATABASE_PORT=5432
export DATABASE_USER=postgres
export DATABASE_PASSWORD=postgres

export JWT_AUDIENCE=JWT_AUDIENCE
export JWT_ISSUER=JWT_ISSUER
  • Finally, run the Gradle command:
./gradlew :application:run

OR

Use IntelliJ’s run configuration to run the API server application.

  • After that, API server will be live on http://localhost:8080.

🙋‍♂️ Want to Contribute ?

Awesome! If you want to contribute to this project, you're always welcome! See Contributing Guidelines.

💬 Want to discuss?

Have any questions, doubts or want to present your opinions, views? You're always welcome. You can start discussions.

👓 REST API Specification

You can navigate to /http and try API calls in IntelliJ Idea IDE itself after API is running.

License

MIT License

Copyright (c) 2021 Jalgaon CoHelp

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].