Simple Backend API with Corvid - Wix-corvid Typing CST Test
Loading…
Simple Backend API with Corvid — Wix-corvid Code
A backend function in Wix Corvid that returns a greeting message as an HTTP endpoint.
// backend/hello.jsw
export function sayHello(name) {
return `Hello, ${name}! Welcome to my Wix site.`;
}
// Example frontend usage:
import { sayHello } from 'backend/hello.jsw';
$w.onReady(function () {
sayHello('Alice').then((msg) => {
console.log(msg);
});
});Wix-corvid Language Guide
Wix Velo (formerly Corvid) is a full-stack development platform built into Wix, allowing developers to create dynamic web applications with custom interactions, databases, and backend logic using JavaScript and Wix APIs.
Primary Use Cases
- ▸Creating dynamic pages from database collections
- ▸Custom forms and workflows
- ▸E-commerce functionality enhancements
- ▸Integrating third-party APIs
- ▸Building web apps with backend logic on Wix
Notable Features
- ▸Full-stack JavaScript environment
- ▸Integrated database collections
- ▸Wix APIs for UI and backend
- ▸Custom interactions and event handling
- ▸Secure serverless backend functions
Origin & Creator
Developed by Wix.com, originally launched as Corvid in 2017, later rebranded as Velo.
Industrial Note
Velo is widely adopted for small-to-medium businesses needing dynamic web apps, internal tools, booking systems, and e-commerce customizations without leaving the Wix ecosystem.