-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b58b49
commit 10552e5
Showing
7 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const mail = require('./mail') | ||
|
||
module.exports = { | ||
mail: mail | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
const constants = { | ||
appName: "On the Block" | ||
noReplyEmail: 'noreply@sandboxd231c3377fcf4941b5e539cb598f444f.mailgun.org' | ||
} | ||
|
||
module.exports = constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
controllers/proposal.js | ||
Descriptiion: Buyer sends Proposal to Seller's Email | ||
*/ | ||
|
||
const classes = require('../classes') | ||
const config = require('../config') | ||
|
||
@// TODO: Get Information from Solidity Smart Contract Back End | ||
module.exports = function(req, res) { | ||
mail = new classes.mail( | ||
config.constants.noReplyEmail, | ||
'charlie@charliecampanlla.com', | ||
'New Property Offer', | ||
'Are you willing to sell your property for ' | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
const fatal = require('./fatal') | ||
|
||
module.export = fatal | ||
module.exports = { | ||
fatal: fatal | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
const types = require('./types') | ||
|
||
module.export = types | ||
module.exports = { | ||
types: types | ||
} |