Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PRO-2395 Design doc for sponsorship policy management #107

Closed
wants to merge 24 commits into from

Conversation

kanthgithub
Copy link
Contributor

@kanthgithub kanthgithub commented Jun 5, 2024

Sponsorship Policy Management

Arka needs to have the ability to setup sponsorship policies, these will be offered as a backend API within Arka and this can be consumed by our developer dashboard.

Description

  • Migrate the Database from sqllite to postgres
  • refactor backend code to use sequelize (orm) framework
  • add sequelize models, migration scripts for all existing tables (config, api_key)
  • refactor the routes, add data repository typescript functions for db calls
  • remove native sql executions
  • SponsorshipPolicy sequelize models, migration scripts, repository functions
  • new route with API functions for CRUD operations on Sponsorship Policy
  • admin_frontend, frontend repository changes needed to accomodate/decouple the database column references in UI
  • docker file changes for new configuration variables of postgres database
  • new docker file in backend to run postgres on local docker and usage guide for testing on local machine

Types of changes

  • Design Doc

  • implementation (feature)

  • [ X] New feature (non-breaking change which adds functionality)

  • Documentation Update

Copy link

linear bot commented Jun 5, 2024

@kanthgithub kanthgithub self-assigned this Jun 5, 2024
@kanthgithub kanthgithub changed the title feat: PRO-2395 Design doc for sponsorship policy management feat: PRO-2395 Design doc for sponsorship policy management [WIP] Jun 5, 2024
@kanthgithub kanthgithub added the enhancement New feature or request label Jun 5, 2024
Copy link

cloudflare-workers-and-pages bot commented Jun 6, 2024

Deploying arka with  Cloudflare Pages  Cloudflare Pages

Latest commit: a4d8a9b
Status: ✅  Deploy successful!
Preview URL: https://15693eca.arka-3qg.pages.dev
Branch Preview URL: https://pro-2395-sponsorship-policie.arka-3qg.pages.dev

View logs

…ates for APIKey entity references in backend and frontend components
…es for sponsorship_policy tables and api_keys association
@kanthgithub kanthgithub changed the title feat: PRO-2395 Design doc for sponsorship policy management [WIP] feat: PRO-2395 Design doc for sponsorship policy management Jun 16, 2024
@kanthgithub kanthgithub marked this pull request as ready for review June 16, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

1 participant