Linux, nginx, MariaDB/Mysql, php stack server.
This repo has the php code for a full registering and login system with password hashing before storing and a dashboard when loged in.
Almost a MVC in straight php.
Also a sqlinj.php page which sql injection can occur, aka how you definitly don twanna code a login page.