{"id":16082115,"url":"https://github.com/varunon9/node-starter-app-mysql","last_synced_at":"2026-04-09T17:06:09.834Z","repository":{"id":93827453,"uuid":"132633172","full_name":"varunon9/node-starter-app-mysql","owner":"varunon9","description":"Hello world nodejs app with MySql as database","archived":false,"fork":false,"pushed_at":"2018-05-12T10:44:55.000Z","size":210,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T11:44:43.943Z","etag":null,"topics":["expressjs","hello-world-node","mysql","nodejs","semantic-ui"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varunon9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-05-08T16:03:15.000Z","updated_at":"2020-10-04T09:37:24.000Z","dependencies_parsed_at":"2023-04-12T00:40:40.561Z","dependency_job_id":null,"html_url":"https://github.com/varunon9/node-starter-app-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/varunon9/node-starter-app-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fnode-starter-app-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fnode-starter-app-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fnode-starter-app-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fnode-starter-app-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunon9","download_url":"https://codeload.github.com/varunon9/node-starter-app-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fnode-starter-app-mysql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260049314,"owners_count":22951247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["expressjs","hello-world-node","mysql","nodejs","semantic-ui"],"created_at":"2024-10-09T11:25:38.815Z","updated_at":"2025-12-30T20:06:42.585Z","avatar_url":"https://github.com/varunon9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## node-starter-app-mysql\n\nA boilerplate for Node.js web applications.\n\nIt is based on following libraries and frameworks-\n\n1. Express.js\n2. Ejs template engine\n3. Sequelize\n4. jQuery\n5. Semantic UI\n6. JsonWebToken for authentication\n\n### Folder Structure\n\n1. **bin**: It contains the main file 'www' which starts node server\n2. **config**: All the configurable parameters and credentials\n3. **data**: json data\n4. **logs**: logs dumps here\n5. **middlewares**: All the middlewares defined here\n6. **models**: Sequelize models (database schema)\n7. **modules**: Independent modules used throughout the app are defined here\n8. **public**: All the static resources (js, css, images)\n9. **routes**: All the routes\n10. **services**: These act as middlemen between routes and database. All the database operations is made here.\n11. **views**: Contains HTML and .ejs files used for rendering to frontend\n\n### How to install\n\n1. `git clone https://github.com/varunon9/node-starter-app-mysql.git`\n2. `cd node-starter-app-mysql`\n3. `npm install`\n4. `cd public`\n5. `bower install`\n6. create database 'nodeStarterAppMysql' in MySql `create database nodeStarterAppMysql`\n7. edit 'username' and 'password' in config.json\n8. come back to project directory `cd ..`\n9. start app `nodemon bin/www` or `node bin/www`\n10. visit localhost:4000 in browser\n\n\n### Naming Conventions\n\n1. using camelCase for naming variables, functions in javascript\n2. using camelCase for naming MySql tables, CSS IDs\n3. using hyp-hens for naming CSS classes\n4. using under_scores for naming files and folders\n5. using UPPERCASE for constants and global variables\n6. using PascalCase for naming Javascript classes and database models\n\n\n### Coding Conventions\n\n1. Line length max 80 characters for Javascript\n2. Line length max 120 characters for HTML\n3. Standard JS coding conventions- https://www.w3schools.com/js/js_conventions.asp\n\n### Screenshots\n|  |  |\n| --- | --- |\n|![Home Screen](./screenshots/home.png) | ![Dashboard Screen](./screenshots/dashboard.png)|\n|![Login Screen](./screenshots/login.png) | ![Signup Screen](./screenshots/signup.png)|\n\n#### For query/issues create Github issue or contact: varunon9@gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunon9%2Fnode-starter-app-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunon9%2Fnode-starter-app-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunon9%2Fnode-starter-app-mysql/lists"}