UNPKG
node-paytmpg
Version:
latest (5.3.2)
5.3.2
5.3.1
5.3.0
5.2.6
5.2.5
5.2.4
5.2.3
5.2.2
5.2.1
5.2.0
5.1.5
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
4.1.0
4.0.2
4.0.1
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
2.0.4
2.0.3
2.0.2
2.0.1
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.4
1.1.3
1.1.2
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.1
1.0.0
Payment Gateway Integration using NodeJS
github.com/shiveshnavin/node_paytm
shiveshnavin/node_paytm
node-paytmpg
/
app
/
models
/
np_user.model.js
12 lines
(10 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
mongoose =
require
(
'mongoose'
);
const
UserSchema
= mongoose.
Schema
({
email
:
String
,
id
:
String
, name :
String
, phone :
String
, }, {
timestamps
:
true
});
module
.
exports
= mongoose.
model
(
'npuser'
,
UserSchema
);