Skip to main content

Why FSS?

FSS (Full Stack Starter) is a modern, production-ready platform built for speed, scalability, and developer experience.

🚀 Key Benefits

FeatureBenefit
Full-Stack ArchitectureBackend, frontend, and mobile in one cohesive codebase
Production ReadyBuilt with battle-tested technologies: NestJS, Next.js, Prisma, Redis
Type-SafeEnd-to-end TypeScript for fewer bugs and better IDE support
ScalableHorizontal scaling with Redis caching and PostgreSQL
SecureBuilt-in auth, MFA, rate limiting, and security best practices
Developer ExperienceHot reload, Docker support, and automated setup scripts

🎯 Perfect For

  • SaaS Startups - Launch faster with pre-built authentication, payments, and admin panels
  • Enterprise Apps - Scalable architecture with enterprise-grade security
  • Multi-Platform - Web + Mobile (iOS/Android) from a single codebase
  • API-First | RESTful API with Swagger documentation ready to consume

🛠️ Tech Stack

  • Backend: NestJS + PostgreSQL + Redis
  • Frontend: Next.js + React
  • Mobile: React Native (Expo)
  • Database: Prisma ORM
info

Ready to build something amazing? Let's get started in under 5 minutes!


Quick Start Guide

Welcome to FSS! This guide will help you get up and running in just a few minutes.

Prerequisites

Before you begin, ensure you have the following installed:

RequirementVersionNotes
Node.js20.x or higherLTS version recommended
npm10.x or higherComes with Node.js
PostgreSQL14+Database (standalone or Docker)
Redis7+Cache (standalone or Docker)
Docker24.x or higherOptional, for containerized deployment
Docker Compose2.x or higherOptional, for multi-container setup
info

For mobile development, you'll also need:

  • Expo CLI: npm install -g @expo/cli
  • Xcode (macOS) for iOS development
  • Android Studio for Android development

Installation

The fastest way to get started is using the automated setup script:

# Clone the repository
Download the FSS package from the FSS dashboard.
cd fss

# Backend setup (from projects/fss/backend)
cd projects/fss/backend

# Install dependencies
npm install

# Copy environment file
cp .env.example .env

# Configure your .env file with database and Redis URLs

# Start with automated script
./start.sh local

The start.sh script will:

  1. Validate environment and dependencies
  2. Start PostgreSQL and Redis in Docker (if needed)
  3. Run database migrations
  4. Generate Prisma client
  5. Start the development server

Option 2: Manual Setup

If you prefer to set up manually:

# Backend (from projects/fss/backend)
cd projects/fss/backend
npm install
cp .env.example .env
# Edit .env with your configuration
npx prisma migrate dev
npx prisma generate
npm run start:dev

# Frontend (from projects/fss/frontend in a new terminal)
cd projects/fss/frontend
npm install
cp .env.example .env.local
# Edit .env.local with your API URL
npm run dev

# Mobile (from projects/fss/mobile)
cd projects/fss/mobile
npm install
# Edit src/services/authApi.ts with your backend URL
npx expo start

Verify Installation

After starting, verify your installation by accessing:

ServiceURLDescription
Frontendhttp://localhost:3000Next.js application
Backend APIhttps://localhost:3443NestJS API
API Docshttps://localhost:3443/apiSwagger documentation
Health Checkhttps://localhost:3443/healthHealth status
MobileExpo Developer ToolsExpo dev server

Default Credentials

After successful installation, you can log in with:

warning

Change the default password immediately after first login for security purposes.

Next Steps

Now that you have FSS installed, explore these resources:

Learning Resources

Package-Specific Guides

Development Resources

Troubleshooting

Common Issues

Database Connection Failed

# Make sure PostgreSQL is running
pg_isready -h localhost -p 5432

# Or start PostgreSQL with Docker
docker run -d --name postgres -e POSTGRES_PASSWORD=password -p 5432:5432 postgres:14

Redis Connection Failed

# Make sure Redis is running
redis-cli ping

# Or start Redis with Docker
docker run -d --name redis -p 6379:6379 redis:7

Port Already in Use

# Kill processes using the port
lsof -ti:3000 | xargs kill -9
lsof -ti:3443 | xargs kill -9

Getting Help

If you encounter issues:

  1. Check the FAQ for common solutions
  2. Review troubleshooting sections in package READMEs
  3. Contact support: [email protected]