fact-bounty
fact-bounty copied to clipboard
Admin API in flask
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
Can i work on this?
Go ahead :smile:
i have made changes to the flask server once these changes are approved i will proceed to amke the frontend for the admin panel