WYHNUS / ExchangeBuddy

Find your exchange buddies!
5 stars 0 forks source link

Admin page #111

Open WYHNUS opened 7 years ago

WYHNUS commented 7 years ago
  1. Add and remove groups
  2. Add and edit uni (corresponding groups will change automatically)
  3. Manage User (add user / remove user / change password / change uni)
  4. Able to have an overviews of all the groups so that can populate wiki easily
WYHNUS commented 7 years ago

Should the admin page be a separate website linked to ExchangeBuddy DB or implemented on top of the current website?

irvinlim commented 7 years ago

I was thinking the frontend can remain one the same website (built within the current application). We can use the /admin frontend route to denote the admin page.

As for the endpoints, you would have to just simply check the user token and whether it is a privileged token, and allow or deny the request (like a middleware such as verifyToken).

WYHNUS commented 7 years ago

My only concern is the website become too large and loading time would be significant... But if we want to give other users admin privilege (instead of maintaining the site on our own), we might just integrate the admin page with the current site. :)

irvinlim commented 7 years ago

I think we might want to give others admin privileges!

Regarding the loading time, I know that Webpack can separate bundles. Before it gets too large we can handle it, but not for now.

WYHNUS commented 7 years ago

Webpack can separate bundles

Wow. Good to know that. :)