{"id":23882087,"url":"https://github.com/ahsansoftengineer/node_typescript_ii","last_synced_at":"2026-06-24T09:33:54.481Z","repository":{"id":112967489,"uuid":"474248326","full_name":"ahsansoftengineer/node_typescript_II","owner":"ahsansoftengineer","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-27T07:42:07.000Z","size":262,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T01:13:17.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ahsansoftengineer.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}},"created_at":"2022-03-26T05:11:17.000Z","updated_at":"2023-07-11T07:48:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f74d3d0e-2f16-4e32-863e-d58cefce6710","html_url":"https://github.com/ahsansoftengineer/node_typescript_II","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahsansoftengineer/node_typescript_II","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fnode_typescript_II","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fnode_typescript_II/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fnode_typescript_II/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fnode_typescript_II/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahsansoftengineer","download_url":"https://codeload.github.com/ahsansoftengineer/node_typescript_II/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fnode_typescript_II/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-04T02:37:49.416Z","updated_at":"2026-06-24T09:33:54.458Z","avatar_url":"https://github.com/ahsansoftengineer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Node with Typescrpt Complete Setup\n#### To Create the Node application with TypeScript follow this steps\n\u003e Here we are Setting up the followings in Node Application\n1. Node\n2. Typescript\n3. Express\n4. EJS\n5. MySql\n6. Sequelize\n7. Nodemon\n#### Initializing project\n1. npm init\n2. npm init @eslint/config\n#### Dependencies\n\u003e npm i \\\u003cpackage\\\u003e\n1. express\n2. ejs \n3. express-ejs-layouts\n4. dotenv\n5. mysql2\n6. sequelize\n```javascript\nnpm i --save express ejs express-ejs-layouts dotenv mysql2 sequelize\n```\n\n#### DevDependencies\n\u003e npm i \\\u003cpackage\\\u003e --save-dev\n1. typescript\n2. eslint\n3. tslint\n4. nodemon\n5. ts-node \n6. shelljs \n7. fs-extra \n8. rimraf\n9. npm-run-all\n###### Full Command\n```javascript\nnpm i --save-dev typescript eslint tslint nodemon ts-node shelljs fs-extra rimraf npm-run-all\n```\n##### Equivalent Types DevDependencies\n\u003e npm i \\\u003cpackage\\\u003e --save-dev\n1. @types/node \n2. @types/express\n3. @types/ejs \n4. @types/express-ejs-layouts\n5. @types/dotenv\n6. @types/shelljs \n7. @types/fs-extra\n8. @types/mysql\n9. @types/sequelize\n###### Full Command\n```javascript\nnpm i --save-dev @types/node @types/express @types/ejs @types/express-ejs-layouts @types/dotenv @types/shelljs @types/fs-extra @types/mysql @types/sequelize\n```\n\n\n#### Configuration\n0. .gitignore\n1. tsconfig.json\n2. index.ts\n3. .env\n4. package.json\n5. tslint.json\n6. .eslintrc.json\n\n##### NOTES\n\u003e Must Configuration\n\u003e package.json\n```json\n \"main\": \"dist/index.js\",\n  \"scripts\": {\n    \"clean\": \"rimraf dist/\",\n    \"copy-assets\": \"ts-node tools/copyAssests\",\n    \"lint\": \"tslint -c tslint.json -p tsconfig.json --fix\",\n    \"tsc\": \"tsc\",\n    \"build\": \"npm-run-all clean lint tsc copy-assets\",\n    \"dev:start\": \"npm-run-all build start\",\n    \"dev\": \"nodemon --watch src -e ts,ejs --exec npm run dev:start\",\n    \"start\": \"node .\",\n    \"test\": \"echo \\\"Error: no test specified\\\" \u0026\u0026 exit 1\"\n\n  },\n  \"include\": [\n    \"src/**/*\"\n  ],\n  \"compilerOptions\": {\n    \"sourceMap\": true,\n    \"target\": \"esnext\",\n    \"outDir\": \"./dist\",\n    \"baseUrl\": \".\"\n  },\n```\n#### npm run dev\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahsansoftengineer%2Fnode_typescript_ii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahsansoftengineer%2Fnode_typescript_ii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahsansoftengineer%2Fnode_typescript_ii/lists"}