From 3b7722d38ad12cb6d64ff4b4076ebb1d534aad17 Mon Sep 17 00:00:00 2001 From: Augustin Date: Wed, 24 Sep 2025 10:32:49 +0200 Subject: [PATCH] Add basic Node.js setup with Express server and gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .gitignore | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++ app.js | 14 +++++++ 2 files changed, 127 insertions(+) create mode 100644 .gitignore create mode 100644 app.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..417a017 --- /dev/null +++ b/.gitignore @@ -0,0 +1,113 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test +.env.production + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +public + +# Storybook build outputs +.out +.storybook-out + +# Temporary folders +tmp/ +temp/ + +# Editor directories and files +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Claude Code +.claude \ No newline at end of file diff --git a/app.js b/app.js new file mode 100644 index 0000000..a992c5a --- /dev/null +++ b/app.js @@ -0,0 +1,14 @@ +const express = require('express'); +const app = express(); +const port = process.env.PORT || 3000; + +app.use(express.json()); +app.use(express.urlencoded({ extended: true })); + +app.get('/', (req, res) => { + res.send('Hello World!'); +}); + +app.listen(port, () => { + console.log(`Server running on port ${port}`); +}); \ No newline at end of file