I want you to create one blank html page that does the following.
Integrate Onesignal Webpush functionality
On click of button trigger a full page "do you want to get my messages?" -style message with yes/no
Script should also detect if webpush work with thus User Agent... if yes go to the message and then go to the native message to ask for permission
If not -> redirect to email submit
Also please store the ID (or whatever is necessary to identify the mobile phone to send a push notification to a sql database)
Setup a simple apache droplet on digital ocean. Setup mysql db. Store the id and name in db.
Automatically trigger a welcome message on successfully signing up to push messaging.
!!!!IMPORTANT: I do not accept copy and paste applications - please respond by summarizing the job in your own words, starting it with the word "push" and tell me what kind of references in regard to this job you have.