{"id":28402270,"url":"https://github.com/arjun-tp/boilerplate-nodejs-svelte","last_synced_at":"2026-02-17T01:33:12.841Z","repository":{"id":283117867,"uuid":"950744880","full_name":"Arjun-tp/boilerplate-nodejs-svelte","owner":"Arjun-tp","description":"A lightweight and scalable boilerplate for building modern web applications using Node.js and Svelte. This setup provides a seamless integration between the frontend and backend and deployment using Docker.","archived":false,"fork":false,"pushed_at":"2025-04-01T19:24:47.000Z","size":73,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T04:31:42.923Z","etag":null,"topics":["boilerplate","docker","docker-compose","javascript","mongodb","nodejs","svelte","template","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arjun-tp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-18T16:12:54.000Z","updated_at":"2025-04-01T19:24:40.000Z","dependencies_parsed_at":"2025-06-25T17:36:10.297Z","dependency_job_id":"5a3fc182-437f-432d-a86d-de2c39c9917d","html_url":"https://github.com/Arjun-tp/boilerplate-nodejs-svelte","commit_stats":null,"previous_names":["arjun-tp/boilerplate-nodejs-svelte"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arjun-tp/boilerplate-nodejs-svelte","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arjun-tp%2Fboilerplate-nodejs-svelte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arjun-tp%2Fboilerplate-nodejs-svelte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arjun-tp%2Fboilerplate-nodejs-svelte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arjun-tp%2Fboilerplate-nodejs-svelte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arjun-tp","download_url":"https://codeload.github.com/Arjun-tp/boilerplate-nodejs-svelte/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arjun-tp%2Fboilerplate-nodejs-svelte/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29529451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T00:57:22.232Z","status":"ssl_error","status_checked_at":"2026-02-17T00:54:25.811Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","docker","docker-compose","javascript","mongodb","nodejs","svelte","template","vite"],"created_at":"2025-06-01T15:09:03.075Z","updated_at":"2026-02-17T01:33:12.788Z","avatar_url":"https://github.com/Arjun-tp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boilerplate-nodejs-svelte\nA lightweight and scalable boilerplate for building modern web applications using Node.js and Svelte. \nThis setup provides a seamless integration between the frontend and backend and deployment using Docker.\n\n### Security \u0026 Performance\n- **Rate Limiting** to prevent abuse and throttling\n- **CORS Enabled** to handle cross-origin requests securely\n- **ESLint \u0026 Prettier** for code quality and formatting\n\n### Deployment \u0026 DevOps\n- **Dockerized Backend \u0026 Web** using **Docker Compose** for easy deployment\n- **Makefile** to consolidate commands\n\n### Frontend\n- Built with **SvelteKit** and **Vite** for modern UI development\n- Uses **Bootstrap** for responsive design and styling\n\n### Backend\n- Secure and scalable **Node.js \u0026 Express.js** architecture\n- **Joi Middleware** for request validation and data integrity\n- API documentation with **Swagger**\n- **Retry Mechanism** to handle API failures gracefully\n- **Rate limiting, CORS, Helmet, and Joi validation** for security and performance\n- Proper test cases with **node:test**\n\n## More commands \n\n```bash\n  make lint-backend\n```\nLint and Format the Backend Code.\nFixes ESLint errors in the backend code (backend/**/*.js).\nFormats code using Prettier for consistent styling.\n\n```bash\n  make start-backend\n```\nStarts the Backend. Navigates to the backend directory and starts the Node.js Express server.\nRuns on port 7004 by default.\n\n```bash\n  make start-web\n```\nStart the Frontend. Navigates to the web directory and starts the SvelteKit frontend.\nRuns the frontend on port 5173 by default.\n\n```bash\n  make service\n```\nStart the Full Application with Docker. Runs the entire application using Docker Compose.\n\n```bash\n  make service-build\n```\nBuilds all Docker containers without starting them. Useful if you want to prepare images before deployment.\n\n```bash\n  make service-stop\n```\nStops all running Docker containers gracefully.\n\n```bash\n  make test\n```\nStart running the backed test cases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjun-tp%2Fboilerplate-nodejs-svelte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjun-tp%2Fboilerplate-nodejs-svelte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjun-tp%2Fboilerplate-nodejs-svelte/lists"}