Day17 #100DaysOfCode
Getting App ready to deploy remove hardcoded localhost externalize it to .env.local DOMAIN="localhost" PORT=3000 and use in code as: Old: const HOME_URL = "localhost:3000"; New: const HOME_URL = `${process.env.DOMAIN}:${process.env.PORT}`; Change also somewhere in Google OAuth… I gave somewhere in google auth setup, the localhost as callback URL. Will update it with cloud url (production env. url, where I deploy) Google it: google oauth callback URL googled google oauth setup found a visited URL: Integrating Google Sign-In into your web app Go to the Credentials page....