Packages
next
Installation

Installation

To install the Airsoko Next package, follow these steps:

  1. Open your terminal.
  2. Navigate to your project directory.
  3. Run the following command:
npm install @airsoko/next

Project 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;