{"id":24903076,"url":"https://github.com/codewithashim/doctor-appointments-server","last_synced_at":"2025-03-27T19:31:55.031Z","repository":{"id":246486821,"uuid":"821107979","full_name":"codewithashim/Doctor-Appointments-Server","owner":"codewithashim","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-01T00:25:46.000Z","size":1242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"production","last_synced_at":"2025-02-01T22:18:55.012Z","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/codewithashim.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-06-27T20:38:21.000Z","updated_at":"2024-07-01T00:25:49.000Z","dependencies_parsed_at":"2024-06-28T09:00:05.913Z","dependency_job_id":null,"html_url":"https://github.com/codewithashim/Doctor-Appointments-Server","commit_stats":null,"previous_names":["codewithashim/doctor-appointments-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithashim%2FDoctor-Appointments-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithashim%2FDoctor-Appointments-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithashim%2FDoctor-Appointments-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithashim%2FDoctor-Appointments-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithashim","download_url":"https://codeload.github.com/codewithashim/Doctor-Appointments-Server/tar.gz/refs/heads/production","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245910680,"owners_count":20692485,"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":[],"created_at":"2025-02-01T22:18:53.072Z","updated_at":"2025-03-27T19:31:55.006Z","avatar_url":"https://github.com/codewithashim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API DOC\n\n```\nhttps://documenter.getpostman.com/view/19459280/2sA3duFsdH\n```\n\n# System Design And Database Design\n\n```\nhttps://app.eraser.io/workspace/YtRCoOlSgPRDx9AYs8CH?origin=share\n```\n\n# Installation Demo : \nhttps://www.loom.com/share/92fbaa1934934e7c86780aac7290a212?sid=348bab95-3637-4827-b067-0f874c80c488\n\n\n# Doctor Portal Backend Setup Guide\n\nThis guide will walk you through setting up the Doctor Portal backend server. Doctor Portal is a platform designed for managing doctor appointments and patient records.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- Node.js (v18.x or later)\n- npm (v9.x.x or later)\n- Docker Desktop (for Docker setup)\n\n## Getting Started\n\n### 1. Clone the Repository\n\nClone the DoctorPortal backend repository from GitHub:\n\n```bash\ngit clone https://github.com/codewithashim/Doctor-Appointments-Server.git\ncd Doctor-Appointments-Server\n```\n\n### 2. Install Dependencies\n\nInstall npm dependencies:\n\n```bash\nyarn install\n\nyarn install ---force (if yarn install is not work then use this)\n```\n\n### 3. Configure Environment Variables\n\nCreate a `.env` file in the root directory based on `.env.example` and configure your environment variables such as database connection details, JWT secrets, etc.\n\n```\n\ncp .env.example .env\n\n```\n\ncopy form the .env.example to\n\n### 5. Build and Run the Server\n\n```\nyarn dev\n```\n\n# Doctor Portal API Setup Guide On Postman\n\n## Prerequisites\n\n1. **Postman**: Ensure you have [Postman](https://www.postman.com/downloads/) installed.\n2. **Doctor Portal.postman_collection.json**: Ensure the `Doctor Portal.postman_collection.json` file is present in your project root or accessible location.\n\n## Steps to Import Postman Collection\n\n1. **Open Postman**:\n\n   - Launch the Postman application on your computer.\n2. **Import the Collection**:\n\n   - Click on the `Import` button in the top-left corner of the Postman app.\n   - You will see different import options. Choose the `Upload Files` option.\n   - Navigate to the location where `Doctor Portal.postman_collection.json` is stored and select the file.\n   - Click `Open` to import the collection.\n3. **Access the Collection**:\n\n   - Once the import is complete, you will see the `Doctor Portal` collection listed in the Collections tab on the left sidebar.\n   - Expand the collection to see the available requests.\n\n## Usage\n\n1. **Set Environment Variables**:\n\n   - If your API requires environment variables, ensure you have the correct environment setup in Postman.\n   - Click on the `Environments` tab and create or select an environment, then add the necessary variables (e.g., `baseUrl`, `apiKey`, etc.).\n2. **Run Requests**:\n\n   - Select the desired request from the `Doctor Portal` collection.\n   - Click the `Send` button to execute the request.\n   - View the response in the response section below.\n3. **Running Tests**:\n\n   - Some requests may have pre-configured tests.\n   - After running a request, navigate to the `Tests` tab to see the results of the tests.\n\n## Additional Resources\n\n- [Postman Documentation](https://learning.postman.com/docs/getting-started/introduction/)\n- [Postman Learning Center](https://learning.postman.com/)\n\n# **Database Acess If Need** \n\n```\nmongodb+srv://DoctorPortalServer:ZPzS2E7OrwypvEdy@doctorportalserver.4uklp2z.mongodb.net/DoctorPortal?retryWrites=true\u0026w=majority\u0026appName=DoctorPortalServer\n```\n\nOpen MongoDB Compass and here pest the uri here \n\n[![1719784585317](image/README/1719784585317.png)]()\n\n![1719784707085](image/README/1719784707085.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithashim%2Fdoctor-appointments-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithashim%2Fdoctor-appointments-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithashim%2Fdoctor-appointments-server/lists"}