How to create a single admin user without registration and all the other stuff typically seen in an authentication workflow?

View other answers to this thread
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Jos Faber's photo

If there is only one admin, you could just have basic authentication over ssl.

Or store a hash of a salted password in your backend code and create a simple just-password-login form that stores something in the session that expires in, say 30 minutes. You can even create a small "binary" that stores a given password as a salted hash in a separate file and include/require that in the config.