Skip to content

skip-mev/skip-go-example

Repository files navigation

Simple Skip Go Client Integration with Next.js

This is a simple example of the @skip-go/client in a Next.js app. This is a good template or reference for a quick start integration.

Getting Started

First, install the dependencies:

npm install

An API key is recommended but not required to run this example. Learn more how to request API keys.

To add you API key populate the .env file with the following variables:

SKIP_API_KEY=your-api-key

Finally, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Proxying Skip API endpoint

To keep your API key secure and private, we recommend that you proxy the API requests from the frontend to your own backend—where you can add your API key in the header before forwarding the request to the Skip Go API.

A guide to do so can be found here.

Learn More

To learn more about Skip, take a look at the following resources:

About

Reference code or template for building a project using Skip:Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published