Demo App Setup
Prerequisites
- Node.js (version 16 or higher)
- npm, yarn, or pnpm package manager
Installation Steps
- Clone the AuthHero repository or download the source code
- Navigate to the demo directory
bash
cd apps/demo- Install dependencies
bash
pnpm installConfiguration
The demo app uses SQLite as its database, which requires minimal configuration. The database file (db.sqlite) is included in the repository.
You may configure the application through environment variables. Create a .env file in the demo directory with the following variables:
# Configuration variables will be listed hereRunning the Demo
Start the demo application:
bash
pnpm devThe server will start by default on http://localhost:8787.