├── .gitignore ├── aboutus.html ├── CSS ├── doctor.css ├── daccount.css ├── patient.css └── index.css ├── IMG ├── login0.jpg ├── login1.jpg ├── login2.jpg ├── login4.jpg ├── logo1.jpg ├── logo2.png ├── download.jpg └── download (1).jpg ├── paccount.html ├── README.md ├── index.html ├── pregister.html ├── JS ├── patient.js └── doctor.js ├── dfaq.html ├── dcontact.html ├── dregister.html ├── patient.html ├── daccount.html ├── appointment.html ├── doctor.html └── dprofile.html /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aboutus.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CSS/doctor.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CSS/daccount.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px 0px 0px 0px; 3 | padding: 0px 0px 0px 0px; 4 | } 5 | -------------------------------------------------------------------------------- /IMG/login0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/login0.jpg -------------------------------------------------------------------------------- /IMG/login1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/login1.jpg -------------------------------------------------------------------------------- /IMG/login2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/login2.jpg -------------------------------------------------------------------------------- /IMG/login4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/login4.jpg -------------------------------------------------------------------------------- /IMG/logo1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/logo1.jpg -------------------------------------------------------------------------------- /IMG/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/logo2.png -------------------------------------------------------------------------------- /IMG/download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/download.jpg -------------------------------------------------------------------------------- /IMG/download (1).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChiranjeebNayak/Doctor-Appointment/HEAD/IMG/download (1).jpg -------------------------------------------------------------------------------- /paccount.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Doctor-Appointment 2 | This is Doctor -Appointment project.Here any patient can login and book an appointment very easily and they will get an notification also after that they will check up in online throungh videocall. 3 | This will help to consume your time and easily check up will done . 4 | it will help to make social distancing and protect you from carona effect too. 5 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Doctor-Appointment 7 | 8 | 9 | 10 |
Doctor Appointment
11 |
12 |

Admin login

13 |
14 |
15 |

Doctor login

16 |
17 |
18 |

Patient login

19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /CSS/patient.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px 0px 0px 0px; 3 | padding: 0px 0px 0px 0px; 4 | } 5 | .head { 6 | width: 98%; 7 | padding: 1%; 8 | background-color: aqua; 9 | text-align-last: center; 10 | font-size: 1.5rem; 11 | font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 12 | } 13 | .container { 14 | width: 70%; 15 | border: 5px solid blue; 16 | margin-left: 15%; 17 | margin-top: 3%; 18 | background-color: tomato; 19 | text-align-last: center; 20 | font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 21 | padding: 1%; 22 | } 23 | p { 24 | font-size: 1.8rem; 25 | font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 26 | } 27 | input { 28 | width: 20%; 29 | font-size: 1rem; 30 | } 31 | -------------------------------------------------------------------------------- /CSS/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px 0px 0px 0px; 3 | padding: 0px 0px 0px 0px; 4 | } 5 | .head { 6 | width: 96%; 7 | padding: 2%; 8 | background-color: aqua; 9 | text-align-last: center; 10 | font-size: 1.5rem; 11 | font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 12 | } 13 | p { 14 | font-size: 1.5rem; 15 | font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 16 | } 17 | a { 18 | color: white; 19 | } 20 | a ::content { 21 | color: black; 22 | } 23 | .box1 { 24 | float: left; 25 | border: 5px solid blue; 26 | background-color: red; 27 | color: white; 28 | width: 20%; 29 | text-align-last: center; 30 | padding: 1%; 31 | margin-top: 15%; 32 | margin-left: 10%; 33 | } 34 | .box2 { 35 | float: left; 36 | border: 5px solid blue; 37 | background-color: green; 38 | color: white; 39 | width: 20%; 40 | text-align-last: center; 41 | padding: 1%; 42 | margin-top: 15%; 43 | margin-left: 10%; 44 | } 45 | .box3 { 46 | display: inline-block; 47 | border: 5px solid blue; 48 | background-color: violet; 49 | color: white; 50 | width: 20%; 51 | text-align-last: center; 52 | padding: 1%; 53 | margin-top: 15%; 54 | margin-left: 10%; 55 | } 56 | footer { 57 | margin-top: 15%; 58 | text-align: center; 59 | padding: 0.5%; 60 | background-color: rgb(48, 29, 100); 61 | color: white; 62 | } 63 | 64 | @media screen and (max-width: 750px) { 65 | .box1 { 66 | border: 5px solid blue; 67 | background-color: orangered; 68 | color: white; 69 | width: 50%; 70 | text-align-last: center; 71 | padding: 1%; 72 | margin-top: 15%; 73 | margin-left: 25%; 74 | } 75 | .box2 { 76 | border: 5px solid blue; 77 | background-color: rgb(19, 19, 20); 78 | color: white; 79 | width: 50%; 80 | text-align-last: center; 81 | padding: 1%; 82 | margin-top: 15%; 83 | margin-left: 25%; 84 | } 85 | .box3 { 86 | border: 5px solid blue; 87 | background-color: rgb(77, 10, 10); 88 | color: white; 89 | width: 50%; 90 | text-align-last: center; 91 | padding: 1%; 92 | margin-top: 15%; 93 | margin-left: 25%; 94 | } 95 | } 96 | 97 | -------------------------------------------------------------------------------- /pregister.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Patient Register 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | 17 | 18 | 19 | 35 |
Doctor Appointment
36 |
37 |
38 |

Patient Register

39 |

Name:

40 |

DOB:

41 |

Phone No.:

42 |

Email ID:

43 |

Password:

44 |

45 | Re-Password: 46 |

47 | 48 | 49 | 50 |
51 |
52 | 53 | 54 | -------------------------------------------------------------------------------- /JS/patient.js: -------------------------------------------------------------------------------- 1 | var name; 2 | var dob ; 3 | var phone; 4 | var email; 5 | var pwd; 6 | var repwd; 7 | var userId; 8 | 9 | 10 | 11 | function back() { 12 | window.history.go(-1); 13 | } 14 | function register() { 15 | name = document.getElementById("name").value; 16 | dob = document.getElementById("dob").value; 17 | phone = document.getElementById("phone").value; 18 | email = document.getElementById("email").value; 19 | pwd = document.getElementById("password").value; 20 | repwd = document.getElementById("repassword").value; 21 | 22 | if (name == "") { 23 | alert("please write your name!!"); 24 | return false; 25 | } 26 | if (dob == "") { 27 | alert("Please give your DateofBirth!!"); 28 | return false; 29 | } 30 | if (phone == "") { 31 | alert("please give your phone number!!"); 32 | return false; 33 | } else if (phone.length != 10) { 34 | alert("Please give your 10 digit phone number!!"); 35 | return false; 36 | } 37 | if (email == "") { 38 | alert("Please give your email id!!"); 39 | return false; 40 | } 41 | if (pwd == "") { 42 | alert("Please give your password!!"); 43 | return false; 44 | } 45 | if (repwd == "") { 46 | alert("Please give your password again!!"); 47 | return false; 48 | } else if (pwd != repwd) { 49 | alert("Your password is not matched!!"); 50 | return false; 51 | } 52 | 53 | firebase 54 | .auth() 55 | .createUserWithEmailAndPassword(email, pwd) 56 | .then(function () { 57 | //alert("sucessfully!!!"); 58 | firebase 59 | .auth() 60 | .currentUser.sendEmailVerification() 61 | .then(function () { 62 | firebase.auth().onAuthStateChanged(function (user) { 63 | if (user) { 64 | // User is signed in. 65 | // alert(user.uid); 66 | userId = user.uid; 67 | // alert(userId); 68 | } else { 69 | // No user is signed in. 70 | } 71 | }); 72 | setTimeout(datastore, 2000); 73 | 74 | alert( 75 | "Email Verification Sent!!! please verify it and login.Have a good day!!!" 76 | ); 77 | 78 | }); 79 | }) 80 | .catch(function (error) { 81 | //Handle Errors here. 82 | var errorCode = error.code; 83 | var errorMessage = error.message; 84 | alert(error); 85 | 86 | // ... 87 | }); 88 | } 89 | function datastore() { 90 | const ref = firebase.database().ref(); 91 | 92 | ref.child("patients/" + userId).set({ 93 | Name: name, 94 | Email: email, 95 | Phone: phone, 96 | DOB: dob, 97 | }); 98 | window.location.href = "patient.html"; 99 | } 100 | -------------------------------------------------------------------------------- /dfaq.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | FAQ 7 | 8 | 9 | 10 | 11 | 12 |
13 | 41 |
42 |
43 |

FAQ

44 |
45 | 46 |
47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /dcontact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Contact 7 | 8 | 9 | 10 | 11 | 12 |
13 | 41 |
42 |
43 |

Contact us

44 |
45 | 46 |
47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /dregister.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Doctor Register 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 36 | 37 | 38 | 39 | 40 |
Doctor Appointment
41 |
42 |
43 |

Doctor Register

44 |

Name:

45 |

DOB:

46 |

47 | Gender: 48 | 54 |

55 |

Phone No.:

56 |

Email ID:

57 |

58 | State: 59 | 69 |

70 |

71 | City: 72 | 76 |

77 | 78 |

79 | Clinic Name: 80 |

81 |

Password:

82 |

83 | Re-Password: 84 |

85 | 86 | 87 |
88 |
89 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /patient.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Doctor 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 36 | 37 | 38 |
Patient-Login
39 |
40 |

Patient-Login

41 |

Email ID:

42 |

Password:

43 | 44 | 45 |

Forget Password?

46 |

New Patient? Register

47 |
48 | 49 | 50 | 114 | -------------------------------------------------------------------------------- /JS/doctor.js: -------------------------------------------------------------------------------- 1 | var name; 2 | var dob; 3 | var gender; 4 | var phone; 5 | var email; 6 | var state; 7 | var city; 8 | var clinic; 9 | var pwd; 10 | var repwd; 11 | var userId; 12 | 13 | function back() { 14 | window.history.go(-1); 15 | } 16 | var citiesByState = { 17 | Odisha: [ 18 | "Bhubaneswar", 19 | "Puri", 20 | "Cuttack", 21 | "Bhadrak", 22 | "Balasore", 23 | "Balangir", 24 | "Khordha", 25 | "Keonjhar", 26 | "Nabarangpur", 27 | "Others", 28 | ], 29 | Maharashtra: ["Mumbai", "Pune", "Nagpur"], 30 | Kerala: ["kochi", "Kanpur"], 31 | }; 32 | function makeSubmenu(value) { 33 | if (value.length == 0) 34 | document.getElementById("citySelect").innerHTML = ""; 35 | else { 36 | var citiesOptions = ""; 37 | for (cityId in citiesByState[value]) { 38 | citiesOptions += ""; 39 | } 40 | document.getElementById("citySelect").innerHTML = citiesOptions; 41 | } 42 | } 43 | function resetSelection() { 44 | document.getElementById("countrySelect").selectedIndex = 0; 45 | document.getElementById("citySelect").selectedIndex = 0; 46 | } 47 | function register() { 48 | name = document.getElementById("name").value; 49 | dob = document.getElementById("dob").value; 50 | gender = document.getElementById("gender").value; 51 | phone = document.getElementById("phone").value; 52 | email = document.getElementById("email").value; 53 | state = document.getElementById("countrySelect").value; 54 | city = document.getElementById("citySelect").value; 55 | clinic = document.getElementById("clinic").value; 56 | pwd = document.getElementById("password").value; 57 | repwd = document.getElementById("repassword").value; 58 | if (name == "") { 59 | alert("please write your name!!"); 60 | return false; 61 | } 62 | if (dob == "") { 63 | alert("Please give your DateofBirth!!"); 64 | return false; 65 | } 66 | if (gender == "") { 67 | alert("please enter your gender!!"); 68 | return false; 69 | } 70 | if (phone == "") { 71 | alert("please give your phone number!!"); 72 | return false; 73 | } else if (phone.length != 10) { 74 | alert("Please give your 10 digit phone number!!"); 75 | return false; 76 | } 77 | if (email == "") { 78 | alert("Please give your email id!!"); 79 | return false; 80 | } 81 | if (state == "") { 82 | alert("please enter your state!!"); 83 | return false; 84 | } 85 | if (city == "") { 86 | alert("please enter your city!!"); 87 | return false; 88 | } 89 | if (clinic == "") { 90 | alert("please enter your Clinic name else write 'NO' !!"); 91 | return false; 92 | } 93 | if (pwd == "") { 94 | alert("Please give your password!!"); 95 | return false; 96 | } 97 | if (repwd == "") { 98 | alert("Please give your password again!!"); 99 | return false; 100 | } else if (pwd != repwd) { 101 | alert("Your password is not matched!!"); 102 | return false; 103 | } 104 | 105 | // alert('hello'); 106 | //window.location.href = "index.html"; 107 | 108 | firebase 109 | .auth() 110 | .createUserWithEmailAndPassword(email, pwd) 111 | .then(function () { 112 | //alert("sucessfully!!!"); 113 | firebase 114 | .auth() 115 | .currentUser.sendEmailVerification() 116 | .then(function () { 117 | firebase.auth().onAuthStateChanged(function (user) { 118 | if (user) { 119 | // User is signed in. 120 | // alert(user.uid); 121 | userId = user.uid; 122 | // alert(userId); 123 | } else { 124 | // No user is signed in. 125 | } 126 | }); 127 | 128 | setTimeout(datastore, 2000); 129 | 130 | alert( 131 | "Email Verification Sent!!! please verify it and login.Have a good day!!!" 132 | ); 133 | // window.location.href = "index.html"; 134 | }); 135 | }) 136 | .catch(function (error) { 137 | //Handle Errors here. 138 | 139 | var errorCode = error.code; 140 | var errorMessage = error.message; 141 | alert(error); 142 | 143 | // ... 144 | }); 145 | } 146 | function datastore() { 147 | const ref = firebase.database().ref(); 148 | ref.child("doctors/" + userId).set({ 149 | Name: name, 150 | Email: email, 151 | DOB: dob, 152 | PHONE: phone, 153 | GENDER: gender, 154 | STATE: state, 155 | CITY: city, 156 | CLINIC: clinic, 157 | Dp:null; 158 | }); 159 | window.location.href = "doctor.html"; 160 | } 161 | -------------------------------------------------------------------------------- /daccount.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | D-Meet 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 43 | 90 | 91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /appointment.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Appointment 7 | 8 | 9 | 10 | 11 | 12 |
13 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 |
Sl.NoNameDetailsMeetAction
1Chiranjeeb Nayakmedicine
2Chirag Nayakmedicine
3Chinmayee Nayakmedicine
4Sasmita Nayakmedicine
5Abishek Kumarmedicine
90 |
91 | 94 | 95 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /doctor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Doctor 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 40 | 41 | 42 | 43 |
44 |
45 |

Doctor Login

46 |
47 |
48 |
49 |
50 |
51 | 77 |
78 | 79 | 80 |
81 |
Login
82 |
83 |
84 | 85 | 86 | 87 |
88 |
89 | 90 | 91 |
92 |
93 | 94 | 95 |
96 | Submit 97 | New account 98 |
99 | 100 | 101 |
102 |
103 |
104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 171 | 172 | -------------------------------------------------------------------------------- /dprofile.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Profile 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 35 | 36 | 37 | 38 |
39 | 69 |
70 |
71 | 72 |
73 |
74 | 75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 | 86 |
87 |
88 |
89 |
90 |
91 |

John Smith

92 |

@johnny.s

93 |
94 | 95 | 99 | 100 | 101 | 123 |
124 |
125 |
126 | Doctor 127 |
Joined 09 Dec 2017
128 |
129 |
130 |
131 | 134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 | 143 | 144 |
145 |
146 |
147 |
148 | 149 | 150 |
151 |
152 |
153 |
154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 |
162 |
163 |
164 | 165 | 166 |
167 |
168 |
169 |
170 |
171 |
172 | 173 | 174 |
175 |
176 |
177 | 178 |
179 |
180 |
181 |
182 | 183 |
184 |
185 |
186 | 187 |
188 |
189 |
190 |
191 |
192 |
193 | 194 |
195 |
196 |
197 |
Support
198 |

Get fast, free help from our friendly assistants.

199 | 200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 | 209 | 210 | 211 | 212 | 213 | 214 | --------------------------------------------------------------------------------