Files
bikelane/backend/server.js
theis.gaedigk 46fa608a47 feat: initialize React client with Vite setup
- Added package.json with dependencies for React, Vite, TypeScript, and ESLint.
- Included Vite logo SVG and React logo SVG in the public and assets directories respectively.
- Created main application component (App.tsx) with basic structure and state management.
- Added global styles in index.css and component-specific styles in App.css.
- Configured TypeScript with tsconfig files for app and node environments.
- Set up Vite configuration for development server with specified host and port.
2025-07-21 15:20:41 +02:00

16 lines
288 B
JavaScript

//statics
import express from "express";
const app = express();
const port = 5002;
//view engine ejs
app.set("view engine", "ejs");
app.get("/", (req, res) => {
res.render("index.ejs");
});
app.listen(port, () => {
console.log(`Server is running at http://localhost:${port}`);
});