Using admin login
user will have access to edit parts of webpage and upload file contents to the website
How should I go about in implementing these user stories. Like is there npm that I can use for authentication. How will be admin able to edit the webpage and upload those contents? what should I learn for implementing this user story?
I am no expert on this, but I am working on the last certificate here where do a lot of “authenticated user” types stuff. The passport and passport-local middleware should take care of your login issues, fairly easily. I’m working on the assumption that you’re doing node.
Uploading files should be pretty straight forward. Editing files gets a little weird. There are some editing things on NPMJS that I see. But I would probably want them to edit the files locally, using their own editor, then upload the files when done.
Again, this is beyond my expertise, but since no one else has answered yet, I thought I’d give it a shot.
That is what I would recommend learning. But of course there is a lot of supporting techs you’ll have to learn like express and sessions, mongo/mongoose.
Have you done backend yet? The backend cert on FCC will actually get you going on a lot of the basics needed.