GithubHelp home page GithubHelp logo

psuzn / play-deals-backend Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 2.31 MB

Backend for Play Deals

Home Page: https://github.com/psuzn/Play-Deals

License: GNU General Public License v3.0

Kotlin 94.61% Just 3.35% Shell 0.13% Smarty 1.91%
helm kotlin kubernates postgresql vertx vertx3

play-deals-backend's Introduction

Play Deals

Static Badge   Static Badge    Static Badge   Static Badge   Static Badge  

Static Badge play-deals-backend 1.0 CI

Feature

Get it on Google play Download Apk

Play deals is a simple app that aggregates the paid apps that have ongoing deals and discounts, aka you can get the paid apps free or with discount.

Play Deals

Play deals is a simple app to aggregate the paid apps that have ongoing deals and discounts.

This repo contains the codebase for the backend for the actual app. It acts as a place to persist the deals and a place to add,validate the deals. This backend is built using Eclipse Vert.x™ and heavily makes use of kotlin coroutines.

Development

Running tests

./gradlew test

Configuration

Configuration can be done by passing environment variables listed below:

Best way provide configuration to create a .env file with the environmental variables and either

  1. run just dev-run from terminal, OR
  2. Install Envfile plugin for IntelliJ and run using IntelliJ
ENV_VAR REQUIRED DEFAULT EXAMPLE NOTES
DB_HOST Y localhost
DB_USERNAME Y whatever
FIREBASE_ADMIN_AUTH_CREDENTIALS Y whatever Firebase admin auth credentials
FOREX_API_KEY Y whatever Api key for https://exchangeratesapi.io
DB_PASSWORD N password whatever
DB_PORT N 5432 6868
DB_NAME N play_deals whatever
DB_POOL_SIZE N 5 6
ENV N PRODUCTION PRODUCTION one of PRODUCTION or DEVELOPMENT or TEST
APP_PORT N 8888 9999
POSTGRES_IMAGE N postgres:14 Useful for testing new versions of postgres. Used only in test code
DASHBOARD N true false Whether to enable or not the Jobrunr dashboard
DASHBOARD_USER N admin whatever Jobrunr dashboard login credential
DASHBOARD_PASS N admin whatever Jobrunr dashboard login credential
CORS N * whatever origins allowed for CORS

License

GPL V3 License

Copyright (c) 2023 Sujan Poudel

play-deals-backend's People

Contributors

psuzn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

davidalgar

play-deals-backend's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.