{"id":15110098,"url":"https://github.com/iam-abin/authapp","last_synced_at":"2026-01-20T14:03:10.350Z","repository":{"id":256683247,"uuid":"850543696","full_name":"iam-abin/authApp","owner":"iam-abin","description":"user registration application","archived":false,"fork":false,"pushed_at":"2024-11-05T04:17:30.000Z","size":701,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T16:48:05.335Z","etag":null,"topics":["expressjs","jest","jwt","mongodb","mongoose","nodejs","nodemailer","swagger","typescript","unit-test","winston-logger"],"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/iam-abin.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":"2024-09-01T04:40:14.000Z","updated_at":"2025-02-04T09:43:17.000Z","dependencies_parsed_at":"2024-10-23T00:15:35.340Z","dependency_job_id":null,"html_url":"https://github.com/iam-abin/authApp","commit_stats":null,"previous_names":["iam-abin/authapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iam-abin/authApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iam-abin%2FauthApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iam-abin%2FauthApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iam-abin%2FauthApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iam-abin%2FauthApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iam-abin","download_url":"https://codeload.github.com/iam-abin/authApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iam-abin%2FauthApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":["expressjs","jest","jwt","mongodb","mongoose","nodejs","nodemailer","swagger","typescript","unit-test","winston-logger"],"created_at":"2024-09-25T23:40:57.088Z","updated_at":"2026-01-20T14:03:10.333Z","avatar_url":"https://github.com/iam-abin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UserApp\n\nThis is a user application where users can signup, verify and view their profile.\n(Error catching is the async functions are done using 'express-async-errors').\n\n## Prerequisites\n\nMake sure you have the following installed on your system:\n\n-   Vscode\n-   Node.js\n-   Mongodb\n\n## Installation\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/iam-abin/authApp.git\n```\n\n2. Navigate to the project directory:\n\n```\ncd authApp\n```\n\n3. Install the dependencies:\n\n```\nnpm install \n```\n\n4. Set up the required environment variables. Rename the `.env.example` file to `.env.development` or `.env.production` or create both and provide the necessary values for the environment.\n\n5. Start server (Running the app):\n***for development environment***\n```\n npm run dev\n```\n\nor\n***for production environment***\n```\n npm run build\n```\n\n```\n npm start\n```\n\n6. In postman access the application by using,\n\n```\nhttp://localhost:5000/api/*\n```\n\n\n## using Makefile commands\n- Here we use 'make' keyword to execute commands.\n\n- To see all available commands:\n```\nmake help\n```\n- To start the development services:\n```\nmake up-dev\n```\n- To stop the development services:\n```\nmake down-dev\n```\n- like this we can use other commands\n\n\n## Api Doc\n\n- swagger \n\n```\nhttp://localhost:5000/api/docs\n```\n\n- postman\n\nhttps://documenter.getpostman.com/view/26404406/2sAXqmAjrD\n\n\n\n## migrations\n\n- migration up\n\n```\nnpx ts-migrate-mongoose up name_to_first_name_and_last_name --uri add_your_mongoURI\n```\n\n- migration down\n\n```\nnpx ts-migrate-mongoose down name_to_first_name_and_last_name --uri add_your_mongoURI\n```\n\n\n### docker image development and production size difference\n\n![Screenshot from 2024-10-22 19-30-40](https://github.com/user-attachments/assets/f8bcf670-f43a-44eb-8516-431888cc990b)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiam-abin%2Fauthapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiam-abin%2Fauthapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiam-abin%2Fauthapp/lists"}