🎮 NostroGames-Server This is the backend server for NostroGames, built with Node.js, Express, MongoDB, and JWT-based authentication.
🧾 .env Configuration Create a .env file in the root directory and add the following variables:
MONGO_URL = your mongo url
CORS_ORIGIN= your cors origin
PORT= your server port || 5000
JWT_SECRET= your jwt secret key JWT_REFRESH_SECRET= your refresh secret key
SMTP_HOST= SMTP_PORT= SMTP_USER= SMTP_PASS= 💡 Note: Never commit your .env file. Add it to .gitignore.
🚀 To Run the Server
npm install # Install dependencies npm run dev # Start server in development mode