Welcome! This repository is a central collection of example applications demonstrating various ways to integrate and use
the @getpara/* suite of SDKs and packages across different platforms and frameworks.
Whether you're building a web app, mobile app, backend service, or something more specialized, you can browse these examples to find patterns and integration guides.
The examples are organized into top-level directories based on the primary platform or environment:
/web: Contains examples for web application frontends.- These are further subdivided by framework and/or bundler (e.g.,
/web/with-react-nextjs,/web/with-react-vite,/web/with-svelte-vite).
- These are further subdivided by framework and/or bundler (e.g.,
/mobile: Contains examples for mobile applications.- These are further subdivided by platform or framework (e.g.,
/mobile/with-expo,/mobile/with-react-native,/mobile/with-flutter).
- These are further subdivided by platform or framework (e.g.,
/server: Contains examples for server-side or backend applications.- These are further subdivided by runtime or framework (e.g.,
/server/with-node,/server/with-bun,/server/with-deno).
- These are further subdivided by runtime or framework (e.g.,
/specialized: Contains examples for specific use cases, integrations, or less common platforms.- Examples include integrations with Electron.js, Telegram Web Apps, specific DeFi protocols, etc. (e.g.,
/specialized/with-electronjs,/specialized/with-jupiter-dex-api).
- Examples include integrations with Electron.js, Telegram Web Apps, specific DeFi protocols, etc. (e.g.,
Each specific example (e.g., /web/with-react-nextjs/para-modal) lives within its own directory and aims to be
self-contained with its own dependencies and configuration.
Most examples are designed to be run independently. Follow these general steps:
-
Clone the Repository:
git clone [https://github.com/getpara/examples-hub.git](https://github.com/getpara/examples-hub.git) cd examples-hub -
Navigate to an Example: Change directory into the specific example you are interested in:
# Example: Navigate to the Para Modal example using React + Next.js cd web/with-react-nextjs/para-modal
-
Install Dependencies: Use Yarn (which is primarily used in this repository) to install the example's specific dependencies. Check the example's own README if a different package manager is required (e.g.,
flutter pub getfor Flutter).yarn install
-
Configure Environment Variables: Many examples require API keys, RPC URLs, or other configuration settings. Look for a
.env.example,config.example.ts, or similar file within the example's directory. Copy it to a new file (e.g.,.env) and populate it with your specific values.# Example using .env cp .env.example .env # Now edit .env with your values using your preferred editor nano .env
-
Run the Example: Each example directory should contain its own
README.mdwith specific instructions on how to run it (e.g.,yarn dev,yarn start,expo start,flutter run). Please refer to those instructions.
If you encounter issues with a specific example or have questions about using the @getpara/* SDKs demonstrated here,
please reach out to us directly at support@getpara.com.
Happy Building!