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

Admin API in flask #470

Open
Anmolbansal1 opened this issue Dec 26, 2019 · 3 comments
Open

Admin API in flask #470

Anmolbansal1 opened this issue Dec 26, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@Anmolbansal1
Copy link
Collaborator

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 Anmolbansal1 added the enhancement New feature or request label Dec 26, 2019
@carpecodeum
Copy link
Contributor

Can i work on this?

@Anmolbansal1
Copy link
Collaborator Author

Go ahead 😄

@carpecodeum
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants