Skip to content

Commit

Permalink
Add-google-maps-doctors
Browse files Browse the repository at this point in the history
  • Loading branch information
samersalmeh committed Apr 23, 2018
1 parent 65bc2e4 commit 89fba53
Show file tree
Hide file tree
Showing 6 changed files with 752 additions and 305 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node server/index.js
4 changes: 2 additions & 2 deletions database-mongo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ db.once('open', function() {
var doctorsSchema = mongoose.Schema({
name: String,
specialization: String,
address:String,
address:Object,
tel:String,
//email:String,
rate:Number
Expand Down Expand Up @@ -58,4 +58,4 @@ var selectAll = function(callback) {
module.exports.selectAll = selectAll;
module.exports.Doctor=Doctor;
module.exports.User = User;
//module.exports.Doctor=Doctor;
//module.exports.Doctor=Doctor;
Loading

0 comments on commit 89fba53

Please sign in to comment.