SoloSaaS

Getting Started

Getting Started

Set up SoloSaaS and get your project running in minutes.

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js 18.17 or later
  • pnpm 8 or later
  • A PostgreSQL database (local or hosted)

Installation

Clone the repository and install dependencies:

git clone https://github.com/solosass/template.git my-saas
cd my-saas
pnpm install

Environment Setup

Copy the example environment file:

cp .env.example .env.local

Fill in the required values:

DATABASE_URL="postgresql://user:pass@localhost:5432/mydb"
BETTER_AUTH_SECRET="your-secret-key"

Start Development

Run the development server:

pnpm dev

Open http://localhost:3000 in your browser. You should see the landing page.

Project Structure

src/
├── app/            # Next.js app router pages
├── components/     # React components
├── config/         # Site configuration
├── i18n/           # Internationalization
├── lib/            # Utility functions and shared logic
└── styles/         # Global styles

Next Steps

Once your dev server is running, head over to the Configuration guide to customize your project settings.