Welcome to the Portabl Quickstart repository! This repository serves as a companion to Portabl's quickstart guides for verifying, issuing, and authenticating. Here, you will find practical examples that demonstrate how to integrate the Connect SDK to authorize users as well as apis to issue and authenticate them.
To get started, create a .env
file from the provided .env.example
template and fill in the necessary environment variables for your integration.
cp .env.example .env
You have two options for running the quickstart example: with Docker or without it.
This repository is configured to be built and run using Docker and Docker Compose.
up
: Builds and starts the container.logs
: Tails logs from the container.stop
: Stops the running container.
If you prefer not to use Docker, follow the steps below:
-
Install dependencies:
yarn
-
Run both the frontend and "api" sample projects in development mode. Choose one of the preset commands based on the integration and library you want to run:
yarn dev
This project utilizes turborepo and Yarn as the package manager. It includes the following apps:
portabl-next
: A Next.js app that demonstrates verifying, authenticating, and issuing.