package
Your new app is now deployed and running on Harper Fabric!
npm install @harperfast/template-vue-ts-studioGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Your new app is now deployed and running on Harper Fabric!
Here's what you should do next:
These schemas are the heart of a great Harper app, specifying which tables you want and what attributes/fields they should have. Any table you @export stands up endpoints automatically.
Create a new greeting.ts file in the resources directory.
Customize your resource:
import { type RecordObject, type RequestTargetOrId, Resource } from 'harper';
interface GreetingRecord {
greeting: string;
}
export class Greeting extends Resource<GreetingRecord> {
Pop open http://localhost:9926 to view index.html in your browser.
Head to the APIs tab to explore your endpoints and exercise them. You can click the "Authenticate" button to see what different users will be able to access through your API.
Test your application works by querying the /Greeting endpoint:
curl http://localhost:9926/GreetingYou should see the following:
{ "greeting": "Hello, world!" }Take a look at the default configuration, which specifies how files are handled in your application.
For more information about getting started with Harper and building applications, see our getting started guide.
For more information on Harper Components, see the Components documentation.
cb1kenobi
chris@cb1inc.com
Save your changes.
Tap "Restart Cluster" and your changes will be live!
Estimated unpacked size across 32 packages.
17.7 MB
Includes dependencies.
5 direct dependencies.