So I am working on a blog using node express and mongodb and was wondering what is the best way to allow only myself to post on the website.
Not sure if it’s the "best", but you could have yourself just type in a password with the post and check if it’s correct before it actually posts
But is there a way to restrict access to that POST route so that only I could use it as it is personal blog