Skip to content
New issue

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

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

Already on GitHub? # to your account

Admin config in db #215

Open
5 tasks
stoopidJSON opened this issue Jul 8, 2020 · 0 comments
Open
5 tasks

Admin config in db #215

stoopidJSON opened this issue Jul 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@stoopidJSON
Copy link
Member

stoopidJSON commented Jul 8, 2020

User Story

As a system adming
I'd like to be able to control certain system values through the API/db
So that I can quickly and easily adjust those values

Acceptance Criteria

  • Table(s) created in Sequelize that track admin values
  • Values from the db are used in code instead of hardcoded values.
  • Expose /admin endpoint that accepts a simple JSON payload of admin settings
  • Support GET and PUT
  • Only users with admin role can access /admin

Notes

To start with rateLimit values can be set as admin vars.

@stoopidJSON stoopidJSON added the enhancement New feature or request label Jul 8, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant