A simple Node.js project.
- Node.js 18+ (recommended)
- npm (bundled with Node.js)
- Install dependencies (none required for this simple setup)
- Run the app:
npm run startOr run in watch mode (Node.js 18+):
npm run dev- index.js: main entry point
- package.json: project metadata and scripts
- .gitignore: common Node.js ignores
- Add a linter:
npm i -D eslint - Add tests:
npm i -D vitestand create a test file - Add TypeScript:
npm i -D typescript @types/nodeand create tsconfig.json