This is the code that runs https://bandolier.learnjsthehardway.com/ for you to review. It uses the https://git.learnjsthehardway.com/learn-javascript-the-hard-way/bandolier-template to create the documentation for the project.
https://bandolier.learnjsthehardway.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
{
|
|
"api_url": "/user/profile",
|
|
"form_name": "Register",
|
|
"submit_text": "Register",
|
|
"post_error": "Invalid Registration. Try Again.",
|
|
"schema":
|
|
{
|
|
"type": "table",
|
|
"name": "user",
|
|
"_columns": {
|
|
"full_name": {
|
|
"type": "varchar",
|
|
"maxLength": "255",
|
|
"nullable": false,
|
|
"defaultValue": null
|
|
},
|
|
"password": {
|
|
"type": "varchar",
|
|
"maxLength": "255",
|
|
"nullable": false,
|
|
"defaultValue": null
|
|
},
|
|
"admin": {
|
|
"type": "boolean",
|
|
"maxLength": null,
|
|
"nullable": true,
|
|
"defaultValue": "'0'"
|
|
},
|
|
"email": {
|
|
"type": "varchar",
|
|
"maxLength": "255",
|
|
"nullable": false,
|
|
"defaultValue": null
|
|
},
|
|
"join_date": {
|
|
"type": "datetime",
|
|
"maxLength": null,
|
|
"nullable": true,
|
|
"defaultValue": null
|
|
},
|
|
"notes": {
|
|
"type": "text",
|
|
"maxLength": null,
|
|
"nullable": true,
|
|
"defaultValue": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|