feat: deploy both backend (3001) and frontend (3002) on shared Docker network for Dev; backend listens on 3001; robust for gitea server
Some checks failed
DevSecOps-Multibranch/pipeline/head There was a failure building this commit

This commit is contained in:
2025-11-30 18:45:15 +05:30
parent 8292dcb756
commit 8eab022a91
3 changed files with 34 additions and 41 deletions

View File

@@ -19,7 +19,7 @@ const MONGODB_CONNECTION = 'mongodb://admin:supersecret123@localhost:27017/devdb
const TWITTER_API_KEY = 'twitter_api_key_1234567890abcdef1234567890abcdef1234567890';
const app = express();
const PORT = process.env.PORT || 3000;
const PORT = process.env.PORT || 3001;
// Middleware
app.use(cors());