Getting Started
This guide will help you get Solo Kit up and running on your local development environment.
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js 18 or later
- pnpm (recommended) or npm
- Git
Installation
-
Clone the repository
git clone <your-repository-url> cd solo-kit -
Install dependencies
pnpm install -
Set up environment variables
cp .env.example .env -
Initialize the database
pnpm db:push -
Start the development server
pnpm dev
Your application will be available at http://localhost:3000.
Development Commands
Here are the most commonly used commands during development:
Core Development
pnpm dev- Start web development serverpnpm dev:mobile- Start mobile development serverpnpm dev:all- Start both web and mobile servers
Database Operations
pnpm db:push- Push schema changes to databasepnpm db:studio- Open Drizzle Studio for database managementpnpm db:seed- Seed the database with sample data
Code Quality
pnpm lint- Run ESLint on all packagespnpm type-check- Run TypeScript type checkingpnpm test- Run the test suite
Project Structure
├── apps/
│ ├── web/ # Next.js web application
│ └── mobile/ # Expo mobile application
├── packages/
│ ├── ui/ # Shared UI components
│ ├── utils/ # Utility functions
│ └── database/ # Database schema and operations
└── docs/ # Documentation filesWhat's Next?
Now that you have Solo Kit running locally, explore these topics: