Archived
2

implemented first tests and basic functionality

This commit is contained in:
VLE2FE
2020-04-22 17:24:15 +02:00
parent e92a9d93c2
commit f23b65d3d8
17 changed files with 451 additions and 49 deletions

13
src/models/user.ts Normal file
View File

@ -0,0 +1,13 @@
import mongoose from 'mongoose';
const UserSchema = new mongoose.Schema({
name: String,
email: String,
pass: String,
key: String,
level: String,
location: String,
device_name: String
});
export default mongoose.model('user', UserSchema);