feat: sample backend package w/ express

This commit is contained in:
Benjamin Singleton 2025-06-10 17:11:14 -05:00
parent 100b326baf
commit 6dc71c32cc
9 changed files with 743 additions and 16 deletions

View file

@ -0,0 +1,15 @@
import { SAMPLE } from "@repo/common/sample";
import express from "express";
const PORT = 1224;
const app = express();
app.get("/sample", (_req, res) => {
res.status(200).send(SAMPLE);
});
app.listen(PORT, () => {
console.log(`Backend started @ http://localhost:${PORT} !`);
console.log(SAMPLE);
});