Installation
To install the Airsoko Next package, follow these steps:
- Open your terminal.
- Navigate to your project directory.
- Run the following command:
npm install @airsoko/nextProject Installation
After installation, you will have to create an api route in the api folder called graphql.ts
- Then paste the following code to file and save
import { GraphqlApiHandler } from "@airsoko/next";
export default GraphqlApiHandler;