Creating a Redis Database¶
This example shows how to deploy a Redis database via Gasper
Prerequisites
- You have Master and DbMaker up and running
- You have DbMaker Redis Plugin enabled
- You have already logged in and obtained a JSON Web Token
$ curl -X POST \
http://localhost:3000/dbs/redis \
-H 'Authorization: Bearer {{token}}' \
-H 'Content-Type: application/json' \
-d '{
"name": "alpha",
"password": "alpha"
}'
{
"name": "alpha",
"password": "alpha",
"user": "alpha",
"instance_type": "database",
"language": "redis",
"db_url": "alpha.db.sdslabs.co",
"host_ip": "192.168.43.46",
"port": 45861,
"owner": "anish.mukherjee1996@gmail.com",
"success": true
}