Skip to content

Commit

Permalink
πŸ“‚ Create server folder and initialize Express app
Browse files Browse the repository at this point in the history
  • Loading branch information
hidragos committed Mar 22, 2023
1 parent b324229 commit e5a33c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const express = require('express');
const app = express();
const port = 3500;

// Simple hello world get request
app.get('/hello', (req, res) => {
res.send('Hello World!');
});


// Start the server
app.listen(port, () => {
console.log(`Example app listening at http:https://localhost:${port}`);
});

0 comments on commit e5a33c7

Please sign in to comment.