fact-bounty icon indicating copy to clipboard operation
fact-bounty copied to clipboard

Admin API in flask

Open Anmolbansal1 opened this issue 5 years ago • 3 comments

Context

The flask API has a blueprint named admin but it currently has only one route to fetch system meta information. More routes are required and an admin authentication system is required.

Requirements

  • Create complete admin authentication API in admin blueprint with a new admin model
  • Create a function in helpers.py to authenticate an admin user
  • Use above function to change route /api/stories/all to admin only

Anmolbansal1 avatar Dec 26 '19 09:12 Anmolbansal1

Can i work on this?

carpecodeum avatar Dec 26 '19 09:12 carpecodeum

Go ahead :smile:

Anmolbansal1 avatar Dec 26 '19 10:12 Anmolbansal1

i have made changes to the flask server once these changes are approved i will proceed to amke the frontend for the admin panel

carpecodeum avatar Jan 15 '20 21:01 carpecodeum