Add REST API on server and migrate web admin to web project