Step 1: Set up your local environment
Clone the following GitHub repository to get started:Step 2: Run as a Next.js app
-
Install dependencies:
-
Start the development server:
- Open http://localhost:3000 to see your app live.
Step 3: Configure your API key
Create an API key To interact with Offline Protocol, you’ll need an API key.- Visit the API Keys page.
- Generate a new key and copy it.
- Store it securely in your environment file:
Step 4: Go live
Deploy your Next.js app” You can deploy your app to any hosting service (e.g. Netlify).- Push your code to GitHub.
- Connect your repo to the hosting provider.
- Add the
NEXT_PUBLIC_OFFLINE_API_KEY
in your hosting environment variables. - Deploy and your app is live!
Next steps
Now that you have Offline Protocol running, check out these features:Use components
Start adding Offline Protocol React components to your app.
API documentation
Explore endpoints and usage examples in the API reference.
Need help? Check out the full documentation or join the community
forum.