RESTHeart Cloud is coming soon! Stay tuned!
RESTHeart Cloud Examples and Use Cases
Discover how RESTHeart Cloud accelerates development across different industries and application types. Each example shows how you can get from idea to working backend in minutes.
Web Applications
E-commerce Product Catalog
Build a complete product management system with inventory, categories, and search capabilities.
Setup (2 minutes)
# Create collections
curl -X PUT https://[instance].restheart.com/products -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/categories -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/inventory -H "Authorization: Bearer [token]"
Sample Data
# Add categories
curl -X POST https://[instance].restheart.com/categories \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{"name": "Electronics", "slug": "electronics", "description": "Electronic devices and accessories"}'
# Add products
curl -X POST https://[instance].restheart.com/products \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"name": "Wireless Headphones",
"sku": "WH-001",
"price": 99.99,
"category": "electronics",
"description": "High-quality wireless headphones with noise cancellation",
"features": ["Bluetooth 5.0", "30-hour battery", "Active noise cancellation"],
"inStock": true,
"quantity": 50,
"tags": ["audio", "wireless", "premium"]
}'
Advanced Queries
# Search products by name
curl "https://[instance].restheart.com/products?filter={'name':{\$regex:'headphones',\$options:'i'}}"
# Filter by price range
curl "https://[instance].restheart.com/products?filter={'price':{\$gte:50,\$lte:150}}"
# Get products with low inventory
curl "https://[instance].restheart.com/products?filter={'quantity':{\$lt:10}}"
# Category-based filtering with sorting
curl "https://[instance].restheart.com/products?filter={'category':'electronics'}&sort={price:1}"
Content Management System
Create a headless CMS for blogs, news sites, or documentation.
Content Structure
# Create content collections
curl -X PUT https://[instance].restheart.com/articles -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/authors -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/media -H "Authorization: Bearer [token]"
# Create author
curl -X POST https://[instance].restheart.com/authors \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com",
"bio": "Tech writer and developer advocate",
"avatar": "https://example.com/avatars/jane.jpg"
}'
# Create article
curl -X POST https://[instance].restheart.com/articles \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"title": "Getting Started with RESTHeart Cloud",
"slug": "getting-started-restheart-cloud",
"content": "RESTHeart Cloud makes backend development incredibly fast...",
"excerpt": "Learn how to build APIs in minutes",
"author": "jane@example.com",
"status": "published",
"publishedAt": "2024-01-15T10:00:00Z",
"tags": ["tutorial", "api", "backend"],
"seo": {
"metaTitle": "Getting Started with RESTHeart Cloud",
"metaDescription": "Complete guide to building APIs with RESTHeart Cloud"
}
}'
Content Delivery
# Get published articles
curl "https://[instance].restheart.com/articles?filter={'status':'published'}&sort={publishedAt:-1}"
# Get article by slug
curl "https://[instance].restheart.com/articles?filter={'slug':'getting-started-restheart-cloud'}"
# Search articles
curl "https://[instance].restheart.com/articles?filter={\$text:{\$search:'RESTHeart API'}}"
Mobile Applications
Social Media App Backend
Build a complete social platform with users, posts, likes, and real-time features.
User Profiles and Posts
# Create social app collections
curl -X PUT https://[instance].restheart.com/profiles -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/posts -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/followers -H "Authorization: Bearer [token]"
# Create user profile
curl -X POST https://[instance].restheart.com/profiles \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"username": "johndoe",
"displayName": "John Doe",
"email": "john@example.com",
"avatar": "https://example.com/avatars/john.jpg",
"bio": "Software developer and coffee enthusiast",
"location": "San Francisco, CA",
"joinedAt": "2024-01-01T00:00:00Z",
"stats": {
"posts": 0,
"followers": 0,
"following": 0
}
}'
# Create a post
curl -X POST https://[instance].restheart.com/posts \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"author": "johndoe",
"content": "Just discovered RESTHeart Cloud - amazing for rapid API development! 🚀",
"media": [],
"hashtags": ["#api", "#development", "#restheart"],
"mentions": [],
"createdAt": "2024-01-15T14:30:00Z",
"likes": 0,
"comments": 0,
"shares": 0
}'
Social Features
# Get user timeline (posts from followed users)
curl "https://[instance].restheart.com/posts?filter={'author':{\$in:['user1','user2','user3']}}&sort={createdAt:-1}"
# Search posts by hashtag
curl "https://[instance].restheart.com/posts?filter={'hashtags':{\$in:['#api']}}"
# Get user's posts
curl "https://[instance].restheart.com/posts?filter={'author':'johndoe'}&sort={createdAt:-1}"
Fitness Tracking App
Create a comprehensive fitness backend with workouts, progress tracking, and goals.
Workout Data
# Setup fitness collections
curl -X PUT https://[instance].restheart.com/workouts -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/exercises -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/progress -H "Authorization: Bearer [token]"
# Add exercise definitions
curl -X POST https://[instance].restheart.com/exercises \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"name": "Push-ups",
"category": "strength",
"muscleGroups": ["chest", "shoulders", "triceps"],
"equipment": "bodyweight",
"instructions": "Start in plank position, lower body until chest nearly touches floor, push back up",
"difficulty": "beginner"
}'
# Log workout
curl -X POST https://[instance].restheart.com/workouts \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"userId": "user123",
"date": "2024-01-15T07:00:00Z",
"duration": 45,
"type": "strength",
"exercises": [
{
"name": "Push-ups",
"sets": [
{"reps": 15, "weight": 0},
{"reps": 12, "weight": 0},
{"reps": 10, "weight": 0}
]
}
],
"notes": "Great morning workout, feeling strong!",
"caloriesBurned": 200
}'
IoT and Data Collection
Smart Home Monitoring
Collect and analyze data from home sensors and devices.
Sensor Data Collection
# Create IoT collections
curl -X PUT https://[instance].restheart.com/devices -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/readings -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/alerts -H "Authorization: Bearer [token]"
# Register device
curl -X POST https://[instance].restheart.com/devices \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"deviceId": "temp-sensor-01",
"type": "temperature",
"location": "living-room",
"manufacturer": "SensorTech",
"model": "ST-TEMP-100",
"installDate": "2024-01-01T00:00:00Z",
"status": "active"
}'
# Submit sensor reading
curl -X POST https://[instance].restheart.com/readings \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"deviceId": "temp-sensor-01",
"timestamp": "2024-01-15T15:30:00Z",
"measurements": {
"temperature": 22.5,
"humidity": 45.2,
"batteryLevel": 85
},
"location": "living-room"
}'
Data Analysis
# Get recent readings
curl "https://[instance].restheart.com/readings?filter={'timestamp':{\$gte:'2024-01-15T00:00:00Z'}}&sort={timestamp:-1}"
# Average temperature by location
curl -X POST https://[instance].restheart.com/readings/_aggrs/avg-temp-by-location \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '[
{"$match": {"timestamp": {"$gte": "2024-01-15T00:00:00Z"}}},
{"$group": {
"_id": "$location",
"avgTemp": {"$avg": "$measurements.temperature"},
"count": {"$sum": 1}
}}
]'
Environmental Monitoring
Track air quality, weather conditions, and environmental data.
Environmental Data
# Environmental monitoring setup
curl -X PUT https://[instance].restheart.com/stations -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/measurements -H "Authorization: Bearer [token]"
# Register monitoring station
curl -X POST https://[instance].restheart.com/stations \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"stationId": "ENV-NYC-001",
"name": "Central Park Station",
"location": {
"lat": 40.7829,
"lng": -73.9654,
"address": "Central Park, New York, NY"
},
"sensors": ["PM2.5", "PM10", "NO2", "O3", "temperature", "humidity"],
"status": "active"
}'
# Submit environmental measurement
curl -X POST https://[instance].restheart.com/measurements \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"stationId": "ENV-NYC-001",
"timestamp": "2024-01-15T16:00:00Z",
"airQuality": {
"pm25": 12.5,
"pm10": 18.2,
"no2": 25.1,
"o3": 45.8,
"aqi": 52
},
"weather": {
"temperature": 18.5,
"humidity": 62.3,
"pressure": 1013.2,
"windSpeed": 8.5
}
}'
Analytics and Reporting
Business Intelligence Dashboard
Create a comprehensive analytics backend for business metrics.
Sales Analytics
# Business analytics setup
curl -X PUT https://[instance].restheart.com/sales -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/customers -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/analytics-products -H "Authorization: Bearer [token]"
# Record sale
curl -X POST https://[instance].restheart.com/sales \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"orderId": "ORD-2024-001",
"customerId": "CUST-001",
"date": "2024-01-15T14:30:00Z",
"items": [
{
"productId": "PROD-001",
"name": "Wireless Headphones",
"quantity": 1,
"unitPrice": 99.99,
"category": "electronics"
}
],
"totalAmount": 99.99,
"currency": "USD",
"paymentMethod": "credit_card",
"salesRep": "john.doe@company.com",
"region": "north-america"
}'
Analytics Queries
# Daily sales aggregation
curl -X POST https://[instance].restheart.com/sales/_aggrs/daily-sales \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '[
{"$match": {"date": {"$gte": "2024-01-01T00:00:00Z"}}},
{"$group": {
"_id": {"$dateToString": {"format": "%Y-%m-%d", "date": "$date"}},
"totalSales": {"$sum": "$totalAmount"},
"orderCount": {"$sum": 1},
"avgOrderValue": {"$avg": "$totalAmount"}
}},
{"$sort": {"_id": 1}}
]'
# Top products by revenue
curl -X POST https://[instance].restheart.com/sales/_aggrs/top-products \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '[
{"$unwind": "$items"},
{"$group": {
"_id": "$items.productId",
"productName": {"$first": "$items.name"},
"totalRevenue": {"$sum": {"$multiply": ["$items.quantity", "$items.unitPrice"]}},
"unitsSold": {"$sum": "$items.quantity"}
}},
{"$sort": {"totalRevenue": -1}},
{"$limit": 10}
]'
Real-Time Applications
Live Chat System
Build a real-time messaging platform with presence and typing indicators.
Chat Setup
# Chat collections
curl -X PUT https://[instance].restheart.com/rooms -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/messages -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/presence -H "Authorization: Bearer [token]"
# Create chat room
curl -X POST https://[instance].restheart.com/rooms \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"name": "General Discussion",
"description": "General chat for all team members",
"type": "public",
"createdBy": "admin",
"createdAt": "2024-01-15T10:00:00Z",
"members": ["alice", "bob", "charlie"],
"settings": {
"allowFileSharing": true,
"maxMessageLength": 1000
}
}'
# Send message
curl -X POST https://[instance].restheart.com/messages \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"roomId": "general-discussion",
"sender": "alice",
"content": "Hello everyone! 👋",
"type": "text",
"timestamp": "2024-01-15T15:30:00Z",
"edited": false,
"reactions": []
}'
Real-time Features with WebSockets
# Create change stream for real-time messages
curl -X POST https://[instance].restheart.com/_streams/chat-messages \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"uri": "chat-messages",
"stages": [
{"$match": {"ns.coll": "messages"}},
{"$project": {"_id": 1, "operationType": 1, "fullDocument": 1}}
]
}'
# WebSocket connection for real-time updates
# ws://[instance].restheart.com/_streams/chat-messages
Live Polling and Voting
Create real-time polls and surveys with live result updates.
Polling System
# Polling collections
curl -X PUT https://[instance].restheart.com/questions -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/votes -H "Authorization: Bearer [token]"
# Create poll
curl -X POST https://[instance].restheart.com/questions \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"title": "What is your favorite programming language?",
"description": "Help us understand our community preferences",
"options": [
{"id": "js", "text": "JavaScript", "votes": 0},
{"id": "python", "text": "Python", "votes": 0},
{"id": "java", "text": "Java", "votes": 0},
{"id": "go", "text": "Go", "votes": 0}
],
"createdBy": "admin",
"createdAt": "2024-01-15T10:00:00Z",
"endDate": "2024-01-22T23:59:59Z",
"status": "active",
"allowMultiple": false
}'
# Cast vote
curl -X POST https://[instance].restheart.com/votes \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"pollId": "programming-languages-poll",
"userId": "user123",
"selectedOption": "python",
"timestamp": "2024-01-15T15:45:00Z",
"userAgent": "Mozilla/5.0...",
"ipAddress": "192.168.1.100"
}'
Public Data Access
Open Data APIs
Create public APIs that don’t require authentication, perfect for open datasets, public content, or read-only resources.
Setting Up Public Collections
Configure collections to allow access via the $unauthenticated
role for users who haven’t logged in.
# Create public collections for open data
curl -X PUT https://[instance].restheart.com/public-datasets -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/announcements -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/documentation -H "Authorization: Bearer [token]"
# Configure public read access permissions
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "$unauthenticated",
"predicate": "method(GET) and path-prefix(/public-datasets)"
}
}'
Public Content Examples
# Add public announcements (admin-only write, public read)
curl -X POST https://[instance].restheart.com/announcements \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"title": "Platform Maintenance Scheduled",
"message": "We will be performing routine maintenance on January 20th from 2-4 AM UTC.",
"type": "maintenance",
"severity": "info",
"publishedAt": "2024-01-15T10:00:00Z",
"expiresAt": "2024-01-21T00:00:00Z",
"tags": ["maintenance", "scheduled"]
}'
# Add public dataset entry
curl -X POST https://[instance].restheart.com/public-datasets \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"name": "City Weather Stations",
"description": "Real-time weather data from municipal weather monitoring stations",
"category": "environmental",
"format": "JSON",
"updateFrequency": "hourly",
"license": "Creative Commons Attribution 4.0",
"lastUpdated": "2024-01-15T16:00:00Z",
"recordCount": 1250,
"coverage": {
"geographic": "New York City",
"temporal": "2020-present"
},
"contact": "data@city.gov"
}'
Public API Access (No Authentication Required)
# Anyone can access these endpoints without authentication
# Get all public announcements
curl "https://[instance].restheart.com/announcements"
# Get active announcements
curl "https://[instance].restheart.com/announcements?filter={'expiresAt':{\$gte:'2024-01-15T00:00:00Z'}}"
# Browse public datasets
curl "https://[instance].restheart.com/public-datasets"
# Search datasets by category
curl "https://[instance].restheart.com/public-datasets?filter={'category':'environmental'}"
# Get specific dataset information
curl "https://[instance].restheart.com/public-datasets/city-weather-stations"
Public Documentation Portal
Create a knowledge base or documentation system with public read access and controlled write access.
Documentation Setup
# Create documentation collections
curl -X PUT https://[instance].restheart.com/docs -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/faqs -H "Authorization: Bearer [token]"
# Configure public read access for documentation
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "$unauthenticated",
"predicate": "method(GET) and path-prefix(/docs)",
"mongo": {
"readFilter": {"status": "published"}
}
}'
# Configure editor write access for documentation
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "editor",
"predicate": "(method(GET) or method(POST) or method(PATCH)) and path-prefix(/docs)",
"mongo": {
"mergeRequest": { "author": "@user._id" },
"writeFilter": { "author": "@user._id" }
}
}'
# Add documentation articles
curl -X POST https://[instance].restheart.com/docs \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"title": "Getting Started Guide",
"slug": "getting-started",
"content": "This comprehensive guide will help you get started with our platform...",
"category": "tutorials",
"status": "published",
"publishedAt": "2024-01-15T10:00:00Z",
"lastModified": "2024-01-15T10:00:00Z",
"author": "docs-team",
"tags": ["beginner", "tutorial", "setup"],
"version": "1.0"
}'
Public FAQ System
# Configure FAQ collection for public access
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "$unauthenticated",
"predicate": "method(GET) and path-prefix(/faqs)"
}'
# Add FAQ entries
curl -X POST https://[instance].restheart.com/faqs \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"question": "How do I reset my password?",
"answer": "Click on the Forgot Password link on the login page and follow the instructions sent to your email.",
"category": "account",
"tags": ["password", "login", "account"],
"helpful": 0,
"notHelpful": 0,
"lastUpdated": "2024-01-15T10:00:00Z"
}'
Public Event Calendar
Create a public events system where anyone can view upcoming events.
Event Calendar Setup
# Create events collection
curl -X PUT https://[instance].restheart.com/events -H "Authorization: Bearer [token]"
# Configure public read access for future events only
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "$unauthenticated",
"predicate": "method(GET) and path-prefix(/events)",
"mongo": {
"readFilter": {
"status": "published",
"endDate": {"$gte": {"$date": "2024-01-15T00:00:00Z"}}
}
}
}'
# Add public events
curl -X POST https://[instance].restheart.com/events \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"title": "API Workshop: Building with RESTHeart",
"description": "Learn how to build powerful APIs using RESTHeart Cloud",
"startDate": "2024-01-25T14:00:00Z",
"endDate": "2024-01-25T16:00:00Z",
"location": {
"type": "online",
"url": "https://meet.example.com/workshop"
},
"status": "published",
"category": "workshop",
"maxAttendees": 50,
"currentAttendees": 12,
"tags": ["api", "workshop", "development"],
"organizer": "Developer Relations Team"
}'
Public Access Examples
# Public users can access these without authentication
# Get upcoming events
curl "https://[instance].restheart.com/events?sort={startDate:1}"
# Filter events by category
curl "https://[instance].restheart.com/events?filter={'category':'workshop'}"
# Get events for a specific date range
curl "https://[instance].restheart.com/events?filter={'startDate':{\$gte:'2024-01-20T00:00:00Z',\$lt:'2024-01-27T00:00:00Z'}}"
Security Considerations for Public Access
# Best practices for public collections:
# 1. Use specific read filters to limit exposed data
# 2. Never allow write access for $unauthenticated role
# Example: Limit fields exposed to public users
curl -X PUT https://[instance].restheart.com/acl \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"role": "$unauthenticated",
"predicate": "method(GET) and path('/events')",
"mongo": {
"readFilter": {"public": true},
"projectResponse": {
"username": 1,
"displayName": 1,
"avatar": 1,
"joinedAt": 1
}
}
}'
Advanced Integration Examples
Multi-tenant SaaS Application
Build a SaaS platform with proper tenant isolation and billing.
Tenant Management
# SaaS collections
curl -X PUT https://[instance].restheart.com/tenants -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/subscriptions -H "Authorization: Bearer [token]"
curl -X PUT https://[instance].restheart.com/usage -H "Authorization: Bearer [token]"
# Create tenant
curl -X POST https://[instance].restheart.com/tenants \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"tenantId": "acme-corp",
"name": "ACME Corporation",
"plan": "professional",
"status": "active",
"createdAt": "2024-01-15T10:00:00Z",
"settings": {
"maxUsers": 50,
"maxStorage": "10GB",
"features": ["analytics", "integrations", "priority-support"]
},
"billing": {
"email": "billing@acme.com",
"address": "123 Business St, City, State 12345"
}
}'
Usage Tracking
# Track API usage
curl -X POST https://[instance].restheart.com/usage \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"tenantId": "acme-corp",
"date": "2024-01-15",
"metrics": {
"apiCalls": 1250,
"storageUsed": "2.5GB",
"activeUsers": 23,
"dataTransfer": "150MB"
},
"breakdown": {
"endpoints": {
"/api/users": 450,
"/api/projects": 320,
"/api/tasks": 480
}
}
}'
Performance and Optimization
Caching Strategy
# Enable caching for frequently accessed data
curl -X PUT https://[instance].restheart.com/products \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"cachePolicy": {
"enabled": true,
"ttl": 300,
"invalidateOn": ["POST", "PUT", "PATCH", "DELETE"]
}
}'
Indexing for Performance
# Create indexes for better query performance
curl -X PUT https://[instance].restheart.com/products/_indexes/category-price \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"keys": {"category": 1, "price": -1},
"options": {"name": "category_price_idx"}
}'
# Text index for search
curl -X PUT https://[instance].restheart.com/products/_indexes/text-search \
-H "Authorization: Bearer [token]" -H "Content-Type: application/json" \
-d '{
"keys": {"name": "text", "description": "text", "tags": "text"},
"options": {"name": "product_text_search"}
}'
Next Steps
These examples demonstrate the power and flexibility of RESTHeart Cloud across different domains. To implement any of these solutions:
-
Start with the Free tier to experiment and prototype
-
Adapt the data models to fit your specific requirements
-
Implement proper security with user roles and permissions
-
Add real-time features using WebSocket change streams
-
Scale up to Shared or Dedicated tiers as your application grows
Learn More
-
Getting Started Guide - Build your first API
-
User Management - Advanced authentication and authorization
-
Security Best Practices - Production-ready security
-
Data Aggregations - Advanced analytics and reporting
-
Authentication Mechanisms - Configure public access with
$unauthenticated
role
Ready to build your next application? Sign up at https://cloud.restheart.com and get your backend running in minutes! 🚀