Preliminary JSON Structure
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Decide on the preliminary JSON structure to instantiate our plugin.
**Update:** Proposed for now showing off basic features of our plugin:
```
{
"table":"user",
"fields":{
"email":{
"type":"string",
"email":true,
"required":true
},
"username":{
"type":"string",
"min":3,
"max":20,
"required":true
},
"password":{
"type":"string",
"require":true
},
"dob":{
"type":"date"
},
"gender": {
"type": "string",
"values": ["M", "F", "O", "NA"]
}
},
"pages":{
"register":{
"path":"/signup",
"edit":true,
"contents":[
"email",
"username",
{
"field":"password",
"options":{
"confirmation":true
}
}
]
},
"login":{
"edit":true,
"contents":[
"email",
"password"
]
},
"deets":{
"contents":[
"username",
"name",
"gender"
]
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.