Documentation

Server Setup & Docs

Deploy your own autonomous form-building infrastructure. Complete with AI capabilities, payments, and self-destructing data pipelines.

Production Deployment Notice

This hosted version of ArachnidForms is strictly a showcase and testing environment. The database is routinely cleared, and it is not intended for collecting sensitive real-world data. To use ArachnidForms for your organization, follow the server setup guide below to host it on your own hardware or cloud provider.

1. Clone & Install

Ensure you have Node.js 18+ and PostgreSQL running. Clone the repository and install the dependencies to begin your server setup.

bash
git clone https://github.com/ch0udharyji/AnachnidForms.git
cd AnachnidForms
npm install

2. Environment Configuration

Create a .env file in the root directory. This contains your global infrastructure secrets. User-specific keys (like Stripe and OpenAI) can be configured later via the dashboard UI.

.env
DATABASE_URL="postgresql://user:password@localhost:5432/arachnidforms"
NEXTAUTH_URL="http://localhost:3000"NEXTAUTH_SECRET="generate-a-secure-secret-here"
# OAuth Providers
DISCORD_CLIENT_ID=""DISCORD_CLIENT_SECRET=""
# Rate Limiting (Upstash Redis)
UPSTASH_REDIS_REST_URL=""UPSTASH_REDIS_REST_TOKEN=""
# Global Infrastructure (Optional - users can provide their own)
EMAIL_SERVER_HOST=""S3_BUCKET_NAME=""NEXT_PUBLIC_RECAPTCHA_SITE_KEY=""

3. Initialize the Database

ArachnidForms uses Prisma ORM. Generate the client and push the schema directly to your Postgres instance to provision the tables.

bash
npx prisma generate
npx prisma db push

4. Launch the Server

Boot up the Turbopack development server. Your private instance will be available locally.

bash
npm run dev
Server running at http://localhost:3000

Deploying to Vercel

For enterprise-grade production deployments, we recommend Vercel. Connect your GitHub repository, add your environment variables in the project settings, and Vercel will automatically build and deploy the Next.js application at the edge.