cd pokedex
yarn install
/packages/server/.env ->
MONGOUSERNAME="yourusername"
MONGOPASSWORD="yourpassword"
DBNAME="yourdbname"
/packages/server/resources/config ->
"myNames": "scnickname"
validator: {
$jsonSchema: {
bsonType: "object",
required: [ "name", "type", "description", "image" ],
properties: {
name: {
bsonType: "string",
description: "must be a string and is required"
},
type: {
bsonType: "string",
description: "must be a string and is required"
},
description: {
bsonType: "string",
description: "must be a string and is required"
},
race: {
bsonType: "string",
description: "must be a string and is required"
},
image: {
bsonType: "string",
description: "must be a string and is required"
},
}
}
}