{"id":16052416,"url":"https://github.com/devsazal/cool-expressify","last_synced_at":"2026-05-04T08:42:10.904Z","repository":{"id":173307805,"uuid":"650547329","full_name":"DevSazal/cool-expressify","owner":"DevSazal","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-07T12:28:15.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T08:51:36.067Z","etag":null,"topics":["express","express-js","jwt","mongodb","sms-gateway","two-factor-authentication","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/DevSazal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-07T09:51:41.000Z","updated_at":"2023-06-10T16:46:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8d8fcd2-885f-4bb8-b3b1-03a8a2e902cb","html_url":"https://github.com/DevSazal/cool-expressify","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"0bf09e75e4e9dbbb324f058e796693a1d9cc6152"},"previous_names":["devsazal/cool-expressify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DevSazal/cool-expressify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fcool-expressify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fcool-expressify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fcool-expressify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fcool-expressify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevSazal","download_url":"https://codeload.github.com/DevSazal/cool-expressify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fcool-expressify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278811927,"owners_count":26050200,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["express","express-js","jwt","mongodb","sms-gateway","two-factor-authentication","typescript"],"created_at":"2024-10-09T01:08:54.097Z","updated_at":"2025-10-07T17:23:07.258Z","avatar_url":"https://github.com/DevSazal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cool Express API\n\n### Requirements:\n\n* Node.js (16.x)\n* NPM\n* TypeScript, Express.js\n* Git\n* MongoDB\n\n\nLet's clone the repository on your machine.\n\nThe application includes the following files and folders.\n\n- `src` - code for the application written in TypeScript, Express.js.\n- `__tests__` - to test all the features.\n- `.env.example` - a sample of .env which can be helpful for configuration.\n\n```bash\n# architecture\n# deep drive in src directory\n\nsrc/\n├── controllers/\n│   └── auth.controller.ts\n├── routes/\n│   └── auth.ts\n├── models/\n│   └── user.model.ts\n├── middlewares/\n│   ├── authMiddleware.ts\n│   └── vonageMiddleware.ts\n├── database/\n│   └── mongo.ts\n├── services/\n├── types/\n│   └── index.ts\n├── lib/\n│   ├── helpers.ts\n│   └── HttpException.ts\n├── app.ts\n└── index.ts\n\n```\n\n\n## Installation and Configuration\n\nLet's move to the cloned directory with your terminal.\n\nTo install, build, and start the application for the first time, run the following commands in your shell using `makefile` (only for macOS and Linux):\n\n```bash\nmake install\n```\n\nLet's rename from `.env.example` to `.env` and make sure all the necessary information is correct:\n\n```bash\nPORT=3000\n\nJWT_SECRET_KEY=''\nMONGODB_URI=''\n\n# SMS\nVONAGE_API_KEY=''\nVONAGE_API_SECRET=''\n\n```\n\nAlready done? Cool! You are almost ready to enjoy the app. ⛳️\n\n\n### Build:\n```\nmake build\n```\n\n### Run:\n```bash\nmake start\n```\n\n### API Endpoint:\n\n```bash\nPOST /v1/register\nPOST /v1/login\nPOST /v1/login-2fa\n\nPATCH /v1/update-profile\n# try the api with postman\n# port 3000\n```\n\n### Test:\nOh! You wanna trigger unit testing for the application from terminal\n\u003cbr\u003e\n```bash\nmake test\nmake test-unit\n```\n\n\n### lint:\n```\nmake lint\n```\n### lintfix:\n```\nmake lintfix\n```\n\n#### 🎯 I know, you liked it.\nTo learn more, you can use the following commands: \n```\nmake help\n```\n\n#### At the same time, you can use the default `npm` commands like:\n```bash\nnpm i\nnpm run build\nnpm run start\nnpm run test\n```\n\n#### 🎯 Have question about api endpoints? Please check out our [details guide](https://github.com/DevSazal/cool-expressify/blob/main/DEVGUIDE.md)\n\n#### 🥇 Congrats!! You are good to go\n\n#### 🧑‍💻 Stay in touch\n\n- Author - [Sazal Ahamed](https://sazal.vercel.app)\n\n#### tada! 🎉\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsazal%2Fcool-expressify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsazal%2Fcool-expressify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsazal%2Fcool-expressify/lists"}