Page MenuHomeDevCentral

No OneTemporary

diff --git a/backend/servpulse-backend/app.js b/backend/servpulse-backend/app.js
index 0da5394..9abd94c 100644
--- a/backend/servpulse-backend/app.js
+++ b/backend/servpulse-backend/app.js
@@ -1,23 +1,30 @@
-// app.js
+// -------------------------------------------------------------
+// ServPulse :: app
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// Project: Nasqueron
+// Description: Bootstrap the application
+// License: BSD-2-Clause
+// -------------------------------------------------------------
+
require('dotenv').config(); // Set up .env file
require('./config/database.js'); // Set up database connection
const express = require('express');
const app = express();
// Middleware to parse JSON requests
app.use(express.json());
// Import routes
const serviceRoutes = require('./routes/serviceRoutes.js');
const incidentRoutes = require('./routes/incidentRoutes.js');
// Use the routes
app.use('/api', serviceRoutes);
app.use('/api', incidentRoutes);
// Start the server
const PORT = process.env.EXPRESS_PORT || 3000;
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 13:16 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260231
Default Alt Text
(1 KB)

Event Timeline