initial commit (app returns google/startpage results)

This commit is contained in:
odweta
2026-09-07 15:05:50 +02:00
commit 1a7df49411
1975 changed files with 269318 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const express = require('express');
const path = require('path');
const handleSearch = require('./search');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, '/static/index.html'));
});
app.get('/search', handleSearch);
app.listen(port, () => {
console.log(`App listening on port ${port}`);
});