You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const express = require("express");
|
|
|
|
const app = express();
|
|
const PORT = 3030;
|
|
|
|
app.use(express.json());
|
|
|
|
app.get("/", (req, res) => {
|
|
res.send("Sensor Logger API is running");
|
|
});
|
|
|
|
app.listen(PORT, () => {
|
|
console.log(`Server listening on port ${PORT}`);
|
|
});
|