Prism-Notes migration: copy scaffold, update package metadata, add npm-based deps, switch startup to Bun.serve with custom logs, and ignore env/deps via .gitignore

This commit is contained in:
Golwhit
2025-12-29 17:57:48 -06:00
parent a8ba47d38e
commit fd54345674
3 changed files with 22 additions and 4 deletions
+7 -3
View File
@@ -127,9 +127,13 @@ app.get('/', async (c) => {
});
const PORT = Number(process.env.PORT || 5500);
console.log(`PBandGraph server running at http://localhost:${PORT}`);
export default {
// Start Bun server manually to avoid Bun's auto startup banner
const server = Bun.serve({
port: PORT,
fetch: app.fetch,
};
});
// Custom startup notes
console.log(`Prism Notes server running at http://localhost:${PORT}`);
console.log('Prism Notes API ready (health: /health)');