TuringsSolutions commited on
Commit
8793fa8
·
verified ·
1 Parent(s): caf8631

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +5 -0
app.js CHANGED
@@ -26,6 +26,11 @@ const connectWithRetry = () => {
26
  };
27
 
28
  const initializeRoutes = (client) => {
 
 
 
 
 
29
  // Route to handle cases
30
  app.post('/case', (req, res) => {
31
  const { caseId, description } = req.body;
 
26
  };
27
 
28
  const initializeRoutes = (client) => {
29
+ // Root route
30
+ app.get('/', (req, res) => {
31
+ res.send('Welcome to the application');
32
+ });
33
+
34
  // Route to handle cases
35
  app.post('/case', (req, res) => {
36
  const { caseId, description } = req.body;