{"repo":"KishCom/scaffnode","free":true,"listed":false,"github":"https://github.com/KishCom/scaffnode","clone":"git clone https://github.com/KishCom/scaffnode.git","description":"My personally preferred node.js webapp scaffold: Node.js + ExpressJS + Nunjucks Templates + SASS + Mocha/Chai/Karma + Svelte based frontend","language":"JavaScript","stars":11,"topics":["boilerplate","javascript","nodejs","svelte","template","webpack"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"[ \\ \\ ] \\ / An ever changing personal preference Node.js web-app scaffolding. Use this if you're looking to hit the ground running with a project using Node.js, and popular Node.js modules (Express.js, Bunyan logs, Multer file uploads, Nunjucks HTML templates). To install, make sure you have Node.js ( 16.x) installed on your system as well as NPM. Make sure your node modules folder, or the NODE PATH environment variable are setup properly as well. Tested on Linux and OSX only. Windows users will need to address the NODE ENV environment variable. If your Node.js and NPM are already configured, setup and installation is a breeze: # Install nodemon and bunyan globally npm install bunyan nodemon mocha webpack webpack-cli -g # Get other dependencies npm install # Configure server environment details cp config.sample.js config.js # Name the project. Replace \"YourProjectsNameHere\" in the next command with your project name (alpha-numeric only) find . -type f xargs sed -i 's/scaffnode/YourProjectsNameHere/gi' # Edit config.js with your details # Then start the server: npm start Frontend (DOCUMENTATION IN PROGRESS) The scaffnode frontend is a Svelte based SPA. cd frontend npm i #Build for development npm run build #which runs: NODE ENV=dev npx webpack --config webpack.config.js ##OR watch for changes and rebuild: npm run watch #which runs: NODE ENV=dev npx webpack --watch --config webpack.config.js ##OR build for production npm run build.live #which runs: NODE ENV=live npx webpack --c","default_branch":null,"files":null,"tree":[],"storefront":"/r/KishCom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KishCom/scaffnode/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}