connecting two connections (Users, Notes) using the JWT - instead of passing random payload pass userID
frondend connected to backend by using API
who is processing API for us? => Server , based on the logic written there
why de ploying server? => Server should run all the time, adding cost if memory inc from 8gb to 32gb, but for only (10Day/yr) =>so, rent a service [ AWS- amazon, GCP-google, Azore-Ms] free- Render , cyclic, Railway, Heroku
provide below in .env
mongoURL= mongodb+srv://suryaprakash...
port= 8080