/api/DEADS
/api/EMPLOYEES
/api/CHARACTERS
/api/EXTRAS
Swagger
https://frontendtop10.dev
{
"name": "RESTool for GOT",
"baseUrl": "https://restool-sample-app.herokuapp.com/api",
"pages": [
...
]
}
Configuration (config.json)
{
...
"pages": [
{
"name": "Cast & Characters",
"id": "characters",
"description": "Manage GOT characters location and budget.",
"methods": {
...
}
}
]
}
Pages (config.json)
{
...
"methods": {
"getAll": {...},
"getSingle": {...},
"put": {...},
"post": {...},
"delete": {...}
}
}
Methods (config.json)
{
"getAll": {
"url": "/character",
"display": {
"type": "table",
"fields": [
{
"name": "thumbnail",
"type": "image",
"label": "Thumbnail"
},
{
"name": "name",
"type": "text",
"label": "Name"
},
{
"name": "isAlive",
"type": "boolean",
"label": "Alive?"
},
....
]
}
},
...
}
"getAll" method (config.json)
{
"post": {
"url": "/character",
"fields": [
{
"name": "thumbnail",
"label": "Thumbnail",
"type": "text"
},
{
"name": "name",
"label": "Name",
"type": "text"
},
{
"name": "realName",
"label": "Real Name",
"type": "text"
},
...
]
}
...
}
"post" method (config.json)
{
"put": {
"url": "/character/:id",
"fields": [
{
"name": "location",
"label": "Location",
"type": "select",
"options": ["Kings Landing", "Beyond the Wall", "Winterfell"]
},
{
"name": "isAlive",
"label": "Alive?",
"type": "boolean"
}
]
}
...
}
"put" method (config.json)
{
"delete": {
"url": "/character/:id",
},
...
}
"delete" method (config.json)
React
Admin
Swagger
Fusio
Custom
- Mobile support
- Tests
- OpenAPI & Swagger integration
- Configuration file generator
@dsternlicht
Talk to Me! 🤙🏻
Twitter: @dsternlicht
Email: daniel.sternlicht@gmail.com
Website: http://danielsternlicht.com/
GitHub: https://github.com/dsternlicht/