Prerequisites:
- Bun 1.3.5 or higher
- PostgreSQL 17 (or a Neon database account)
- Git
Clone the repository
First, clone the Better Skills repository:Install dependencies
Better Skills uses Bun as its package manager and runtime. Install all dependencies:This project requires Bun 1.3.5. Do not use npm, pnpm, or yarn.
Workspace structure
The repository is organized as a Bun monorepo:Set up the database
Before running the development server, configure your database. See Database Setup for detailed instructions.Configure environment variables
Copy the environment variable templates and fill in your values:Start all services
Run the development server for both web and API:- Web app at http://localhost:3001
- API server at http://localhost:3000
Start individual services
You can also run services independently:Default ports
| Service | Port | URL |
|---|---|---|
| Web | 3001 | http://localhost:3001 |
| Server | 3000 | http://localhost:3000 |
Verify your setup
Once everything is running:Open the web app
Navigate to http://localhost:3001 and verify the homepage loads.
Check API health
The API should be accessible at http://localhost:3000.
Next steps
Database Setup
Configure PostgreSQL and run migrations
Environment Variables
Learn about required environment configuration
Architecture
Understand the system architecture
Tech Stack
Explore the technologies used