alarmify.noconfig.online
README.md
# Hello Node
A zero-dependency Node server. `server.js` serves `public/` and one JSON route.
## How noconfig runs this
There's no config file. noconfig looks at your files and works it out:
- `package.json` scripts → `npm start` (or build, then serve the output)
- `server.js`, `index.ts` and friends → `node <file>` (TypeScript runs directly)
- `app.py` → Python, with `requirements.txt` installed first
- `index.php` → PHP's built-in server
- otherwise `index.html` → served as a static site
Edit any file and the preview updates by itself. Put secrets in `.env`: they're hidden from anyone who views or remixes your project.
## Your database: SQLite
`db.js` opens `.data/app.db` with Node's built-in `node:sqlite` and creates a `notes` table. Import it with `import { db } from "./db.js"`.
Data lives in `.data/`, which survives restarts, isn't shown in the editor and isn't copied when people remix.
Comments 0
- No comments yet. Say something nice.
Sign in or create an account to comment and react.