CUCentralAdvancement / giving-backend

Home of CMS that powers giving.cu.edu amongst other Central Advancement content needs.
MIT License
1 stars 0 forks source link

Add Redirect Model and UI For Editing Vanity URLs #93

Open alexfinnarn opened 3 years ago

alexfinnarn commented 3 years ago

In https://github.com/CUCentralAdvancement/crowdfunding-cu/issues/29, the code reads from a redis instance on Heroku but there is no easy way to set values. Sure, I can do this via the command line, but actual users won't want to do that...or search for existing keys that way. The most logical place to put this is in the CMS since it has user management already.

The easiest and most straightforward way to manage this is to create a scaffold for a Redirect resource. This way, the redirect can expire and have other properties. This will duplicate the redirect data and allow for it to be reloaded if the redis instance fails.

Acceptance Criteria

Next Issue

After this issue is completed, the whole vanity URL process can move to the CMS and crowdfunding-cu, and Drupal 7 will not be needed for that part of the fund update process.