{"id":19756700,"url":"https://github.com/ayushsgithub/pearlthoughts_task","last_synced_at":"2026-04-08T16:01:48.849Z","repository":{"id":197383562,"uuid":"698542557","full_name":"ayushsgithub/pearlThoughts_task","owner":"ayushsgithub","description":"Outpatient appointment system API built using Node.js and Express.js. It allows users to list doctors, view details of a specific doctor, and book appointments with available doctors.","archived":false,"fork":false,"pushed_at":"2023-09-30T08:40:37.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T09:11:57.274Z","etag":null,"topics":["dotenv","expressjs","nodejs","nodemon","postman"],"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/ayushsgithub.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-09-30T08:16:43.000Z","updated_at":"2023-10-02T10:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fb719e2-5419-4bd6-a693-6e1fc850d4b0","html_url":"https://github.com/ayushsgithub/pearlThoughts_task","commit_stats":null,"previous_names":["ayushsgithub/pearlthoughts_task"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayushsgithub/pearlThoughts_task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayushsgithub%2FpearlThoughts_task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayushsgithub%2FpearlThoughts_task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayushsgithub%2FpearlThoughts_task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayushsgithub%2FpearlThoughts_task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayushsgithub","download_url":"https://codeload.github.com/ayushsgithub/pearlThoughts_task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayushsgithub%2FpearlThoughts_task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["dotenv","expressjs","nodejs","nodemon","postman"],"created_at":"2024-11-12T03:16:39.545Z","updated_at":"2026-04-08T16:01:48.834Z","avatar_url":"https://github.com/ayushsgithub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Outpatient Appointment System\n\nThis is a simple outpatient appointment system API built using Node.js and Express.js. It allows users to list doctors, view details of a specific doctor, and book appointments with available doctors.\n\n## Table of Contents\n\n- [Features](#features)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n- [Usage](#usage)\n  - [Listing Doctors](#listing-doctors)\n  - [Viewing Doctor Details](#viewing-doctor-details)\n  - [Booking Appointments](#booking-appointments)\n- [API Endpoints](#api-endpoints)\n- [Contributing](#contributing)\n\n\n## Features\n\n- List doctors with their specialties and schedules.\n- View details of a specific doctor.\n- Book appointments with available doctors.\n- Limit the number of patients a doctor can see.\n\n## Getting Started\n\n### Prerequisites\n\nTo run this project, you will need:\n\n- Node.js installed on your machine.\n- npm or yarn package manager.\n\n### Installation\n\n1. Clone this repository to your local machine:\n\n   ```git clone https://github.com/ayushsgithub/pearlThoughts_task.git```\n\n2. Go the folder\n\n   ```cd pearlThoughts_task```\n\n3. Install depencies\n\n   ```npm install```\n\n## Usage\n\n### Listing Doctors\nTo list all available doctors, make a GET request to the `/doctors` endpoint:\n\n```http://localhost:3000/doctors```\n\n# Viewing Doctor Details\n\nTo view details of a specific doctor, make a GET request to the `/doctors/{doctorId}` endpoint, replacing `{doctorId}` with the actual doctor's ID:\n\n```http://localhost:3000/doctors/1```\n\n# Booking Appointments\n\n#### To book an appointment with a doctor, make a POST request to the ```/appointments``` endpoint with the doctor's ID and patient's name\n\n\n# API Endpoints\n\n- GET ```/doctors```: List all doctors.\n\n- GET ```/doctors/{doctorId}```: Get details of a specific doctor.\n\n- POST ```/appointments```: Book an appointment with a doctor.\n\n\n# Contributing\n\n### Contributions are welcome! If you'd like to contribute to this project, please follow these steps:\n\n- Fork the repository.\n\n- Create a new branch for your feature or bug ```fix: git checkout -b feature-name```.\n\n- Make your changes and commit them.\n\n- Push your changes to your fork: ```git push origin feature-name```.\n\n- Create a pull request on the original repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayushsgithub%2Fpearlthoughts_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayushsgithub%2Fpearlthoughts_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayushsgithub%2Fpearlthoughts_task/lists"}