{"id":25909117,"url":"https://github.com/reader-coder/auth-api","last_synced_at":"2026-05-06T14:37:39.417Z","repository":{"id":278548366,"uuid":"935986942","full_name":"reader-coder/auth-api","owner":"reader-coder","description":"A simple authentication API with register, login, logout, password reset, and multiple images upload and delete functionalities. JWT for token generation. bcryptjs for password hashing. Brevo and nodemailer for email delivery. MongoDB for data storage. Multer and Cloudinary for image uploads","archived":false,"fork":false,"pushed_at":"2025-02-28T10:19:01.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T17:12:51.740Z","etag":null,"topics":["bcryptjs","brevo","cloudi","crypto","jwt-authentication","mongodb","mongoose","multer","nodemailer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/reader-coder.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":"2025-02-20T10:49:45.000Z","updated_at":"2025-02-28T10:19:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a273381d-0046-4fc6-9a03-7d7020ad2457","html_url":"https://github.com/reader-coder/auth-api","commit_stats":null,"previous_names":["reader-coder/auth-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reader-coder%2Fauth-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reader-coder%2Fauth-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reader-coder%2Fauth-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reader-coder%2Fauth-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reader-coder","download_url":"https://codeload.github.com/reader-coder/auth-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629768,"owners_count":19993710,"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":["bcryptjs","brevo","cloudi","crypto","jwt-authentication","mongodb","mongoose","multer","nodemailer"],"created_at":"2025-03-03T08:16:18.436Z","updated_at":"2025-11-27T15:02:24.929Z","avatar_url":"https://github.com/reader-coder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Environment Variables Configuration\n\nThis `.env` file contains the necessary environment variables for the project. Replace placeholder values with actual credentials before deployment.\n\n## Database Configuration\n```ini\nMONGO_URI=mongodb://your_mongo_host:your_mongo_port/your_database\n```\n- **your_mongo_host**: The hostname or IP address of your MongoDB server.\n- **your_mongo_port**: The port MongoDB is running on (default: 27017).\n- **your_database**: The name of your database.\n\n## Server Configuration\n```ini\nURL=http://your_server_url:your_port\nPORT=your_port\n```\n- **your_server_url**: The base URL of your application.\n- **your_port**: The port your application will run on.\n\n## Authentication\n```ini\nJWT_SECRET=your_jwt_secret\n```\n- **your_jwt_secret**: A secret key used for signing JWT tokens. Keep this secure.\n\n## Application Mode\n```ini\nNODE_ENV=\"your_environment\"\n```\n- **your_environment**: The environment mode (e.g., development, production).\n\n## SMTP Configuration\n```ini\nSMTP_HOST=your_smtp_host\nSMTP_PORT=your_smtp_port\nSMTP_USER=your_smtp_user\nSMTP_PASSWORD=your_smtp_password\n```\n- **your_smtp_host**: The SMTP server host.\n- **your_smtp_port**: The port used for sending emails (e.g., 587 for TLS, 465 for SSL).\n- **your_smtp_user**: The username for SMTP authentication.\n- **your_smtp_password**: The password for SMTP authentication.\n\n## Cloudinary Configuration\n```ini\nCLOUDINARY_CLOUDNAME=your_cloudinary_cloudname\nCLOUDINARY_API_KEY=your_cloudinary_api_key\nCLOUDINARY_API_SECRET=your_cloudinary_api_secret\n```\n- **your_cloudinary_cloudname**: Your Cloudinary cloud name.\n- **your_cloudinary_api_key**: Your Cloudinary API key.\n- **your_cloudinary_api_secret**: Your Cloudinary API secret. Keep this secure.\n\n## Security Notice\n**Do not commit this file to version control!** Instead, use a `.env.example` file with placeholders and add `.env` to `.gitignore` to keep credentials secure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freader-coder%2Fauth-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freader-coder%2Fauth-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freader-coder%2Fauth-api/lists"}