Getting Started
Quick guide to get up and running with NestSaaS
Welcome to NestSaaS! This guide will help you quickly set up and start using your new multi-functional website platform.
Prerequisites
Before you begin, ensure you have the following:
- Node.js 18.x or later
- pnpm 8.x or later (NestSaaS uses pnpm as the package manager)
- A PostgreSQL database (Neon/Supabase recommended)
- Basic knowledge of Next.js and React
Quick Start
Prepare your project
First get access to the NestSaaS repository, then fork the repository on GitHub to your own account.
Clone the repository to your local machine:
Install dependencies
Create a database
NestSaaS requires a Postgres database to work. Make sure to created a new database and have the connection string ready.
We've covered some options for hosting your Postgres database in the Database Setup guide, for example, using Neon, Supabase or setup a self-hosted Postgres database.
The Postgres connection string will look something like this:
Setup environment variables
- Create a
.env
file in the root directory based on the.env.example
:
- Configure your
.env
file with essential settings including database connection details, authentication secrets, and API keys. For a comprehensive guide to all available environment variables and their configurations, refer to the Environment Setup documentation.
Initialize the database:
Seed the database with initial data:
Running the Development Server
Start the development server:
Your NestSaaS application should now be running at http://localhost:3000.
Next Steps
Environment Configuration
NestSaaS Environment Configuration Guide
Configuration
Detailed configuration options for your NestSaaS environment.
Core Concepts
Understanding the fundamental concepts of NestSaaS.
Admin Panel
Managing your NestSaaS site through the admin panel interface
Troubleshooting
If you encounter any issues during installation:
- Ensure all prerequisites are installed correctly
- Check that your database connection details are correct
- Verify that all environment variables are properly set
- Check the console for any error messages
If problems persist, please refer to our troubleshooting guide or reach out to our support team.