The client says the site is down but it's working on my machine as developers we've all been there.the app works perfectly on the local host you test everything and it all works well, then you deploy to production that's where the genesis of our troubles starts and suddenly everything breaks. same code, same application so what changed actually a lot

first, environment variables on your laptops you already had your database password, your api keys, your secrete keys everything sited on your local environment. You deploy and one variable is missing or the database url is wrong or the api keys used belong to the test environment, your code is the same but your configuration is not

second, your production server my not even be running the same environment as your laptop develop on windows then you deploy on linux. you have on version of node, python or even PHP locally then in production it's different, it's something as simple as a filename can break a system. user service might work on a system while other user service might not

third, everything becomes so strict in production your fronted might be in one domain and your API in another cors matters because you might be using https on one request and your other request uses http. your login cookie is missing the correct same site secure or domain settings and suddenly users can not stay logged in.