Quick Start Guide

Start Building in Minutes

Follow this guide to integrate Socialsdev into your application and start building social features today.

Prerequisites

Node.js 18.0 or higher
npm, yarn, or pnpm
A Socialsdev account (free tier available)
Basic knowledge of JavaScript/TypeScript

Installation Steps

01

Install the SDK

Install the Socialsdev SDK using your preferred package manager.

npm install @socialsdev/sdk
02

Initialize the Client

Configure and initialize the Socialsdev client in your app.

import { SocialsdevClient } from '@socialsdev/sdk';

const client = new SocialsdevClient({
  apiKey: process.env.SOCIALSDEV_API_KEY,
  projectId: 'your-project-id'
});
03

Add Authentication

Set up user authentication with built-in providers.

// Enable authentication
const auth = client.auth();

// Sign up a new user
await auth.signUp({
  email: 'user@example.com',
  password: 'securepassword',
  profile: { name: 'John Doe' }
});
04

Create Social Features

Start adding posts, comments, and interactions.

// Create a post
const post = await client.posts.create({
  content: 'Hello, Socialsdev!',
  author: userId
});

// Add a comment
await client.comments.add({
  postId: post.id,
  content: 'Great first post!',
  author: currentUserId
});

Why Developers Choose Socialsdev

Developer-First

Clean APIs and comprehensive documentation

TypeScript Support

Full type safety out of the box

Modular Design

Use only what you need

Real-time Ready

Built-in WebSocket support

Self-Hosted

Deploy on your own infrastructure

Cloud Option

Or use our managed cloud service

What's Next?

You've got the basics down. Now explore our comprehensive documentation to build more advanced features.