{"id":23491526,"url":"https://github.com/sarwar-asik/all-mongo","last_synced_at":"2026-04-09T12:03:11.283Z","repository":{"id":183883231,"uuid":"670912013","full_name":"sarwar-asik/All-mongo","owner":"sarwar-asik","description":"Express,Mongoose,TS,Husky,JWT, Server and NoSQL Note for Backend","archived":false,"fork":false,"pushed_at":"2023-07-26T06:56:10.000Z","size":4360,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T22:49:30.697Z","etag":null,"topics":["dotenv","express","husky","jwt","logger","mongodb","mongoose"],"latest_commit_sha":null,"homepage":"","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/sarwar-asik.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}},"created_at":"2023-07-26T05:53:53.000Z","updated_at":"2023-12-03T16:34:22.000Z","dependencies_parsed_at":"2023-07-26T08:00:26.370Z","dependency_job_id":null,"html_url":"https://github.com/sarwar-asik/All-mongo","commit_stats":null,"previous_names":["sarwar-asik/all-mongo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarwar-asik%2FAll-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarwar-asik%2FAll-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarwar-asik%2FAll-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarwar-asik%2FAll-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarwar-asik","download_url":"https://codeload.github.com/sarwar-asik/All-mongo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975299,"owners_count":21192199,"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":["dotenv","express","husky","jwt","logger","mongodb","mongoose"],"created_at":"2024-12-25T01:28:09.132Z","updated_at":"2025-12-30T20:20:57.375Z","avatar_url":"https://github.com/sarwar-asik.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ready Server :::::\n\n## Ready with esliint ,logger ,global errorhandle , uncaught error,Zod\n\n\\*\\* just clone the server for \u003e\u003e\u003e\u003e\n\n### Features of src\u003eapp\u003emodules\u003eAUTH\u003e :::\n\n** User Login\n** User Signup\n\\*\\* Get refresh token\n\n### Features of src\u003eapp\u003emodules\u003eUSER(by admin ) :::\n\n** create user\n** user profile (any user)\n** update profile (any user)\n** update user (admin)\n** allUser (admin)\n** delete user (admin)\n\\*\\* get single user (admin )\n\n### .env (sample just )\n\n    DB_URL='mongodb+sdfasdfawrfqawe1ertwer5454634534352345'\n    NODE_ENV= development\n    PORT = 5000\n\n\n    JWT_SECRET = 'type_secret'\n    JWT_EXPIRES_IN=1d\n    JWT_REFRESH_SECRET='very-refresh-secret'\n    JWT_REFRESH_EXPIRES_IN=365d\n\n## Vercel hosting the server\n\n### Vercel এ ডেপ্লয় এর ক্ষেত্রে কয়েকটি জিনিস খেয়ালরাখতে হবে Sits config.jso (\"./dist\" is very important)\n\n    \"module\": \"commonjs\" / Specify what module code is generated. */*,\n\n    \"rootDir\": \"./src\" / Specify the root folder\n\n    within your source files. /*, \"outDir\": \"./dist\" */ Specify an output folder\n\n    for all emitted files. */*,\n\n### এই কনফিগটি add করে নিতে হবে যদি আগে থেকে করা না থাকে\n\n### ২। package.json এর মধ্যে\n\n        \"scripts\": {\n\n        \"dev\": \"ts-node-dev --respawn --transpile-only src/server.ts\",\n\n        \"start\": \"node dist/server.js\",\n\n        \"build\": \"tsc\"\n        }\n\n### ৩। প্রজেক্টের রুট এর মধ্যে vercel.json ফাইল বানিইয়ে নিতে হবে\n\n        {\n\n            \"version\": 2,\n            \"builds\": [\n                {\n                    \"src\": \"dist/server.js\",\n                    \"use\": \"@vercel/node\"\n                }\n            ],\n            \"routes\": [\n                {\n                    \"src\": \"/(.*)\",\n                    \"dest\": \"dist/server.js\"\n                }\n            ]\n        }\n\n### এরপর Cli দিয়ে deploy করে নিলেই কাজ শেষ\n\n             tsc\n             vercel\n             vercel --prod\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarwar-asik%2Fall-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarwar-asik%2Fall-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarwar-asik%2Fall-mongo/lists"}