Development Setup
This guide explains how to set up the AuthHero development environment.
Prerequisites
- Node.js (version 16 or higher)
- npm, yarn, or pnpm package manager
- Git
Getting the Code
- Clone the repository:
bash
git clone https://github.com/yourusername/authhero.git
cd authhero- Install dependencies:
bash
pnpm installProject Structure
AuthHero is organized as a monorepo with several packages and applications:
packages/: Contains the core library and adaptersapps/: Contains the demo app and management dashboard
Running the Projects
You can run all projects in parallel with:
bash
pnpm devOr run a specific project:
bash
pnpm <project-name>For example:
bash
pnpm react-adminBuilding
Build all projects:
bash
pnpm buildOr build a specific project:
bash
pnpm <project-name> buildNext Steps
After setting up your development environment, you might want to:
- Read the code style guide
- Learn about testing
- Understand the release process