first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-02-23 16:40:46 -05:00
commit 2b4a01a525
11 changed files with 450 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
'use strict';
const controller = require('./controller');
module.exports = function(app) {
app.route('/about')
.get(controller.about);
app.route('/create')
.post(controller.postTransfer);
app.route('/status/:id')
.get(controller.getStatus);
app.route('/verifyTransaction/:id')
.get(controller.verifyTransaction);
app.route('/verify')
.post(controller.verifyAccount);
};