Quick Start Guide
SchemaAPI Quick Start Guide.
To get started using SchemaAPI, follow these simple steps:
Prerequisites
Before installing SchemaAPI, make sure you have the following:
- Node.js installed on your machine
Installation Steps
-
Install SchemaAPI: Navigate to your project directory and install SchemaAPI.
npm i -D schemaapi@latest -
Import the Schema: In your project files, import Schema from SchemaAPI.
import Schema form "schemaapi"; -
Build your schema: Create your schema.
import Schema form "schemaapi"; Schema('./user').then((mockData) => { console.log(mockData); }) -
Yeah!! 🥳: By following these steps, you'll have SchemaAPI installed and ready to use in your project.
Additional Information
For more detailed instructions and troubleshooting tips, see our All Types section.