Skip to content
Avatar of routersorouterso/router

Router.so - Headless Forms and Lead Routing

Router.so is headless form handling and lead routing for marketing-minded developers.

Framework
Use Case
headless-forms

Router.so / Open Soruce Form Backend

Description

This is a simple router for forms. Watch a Demo

Self-Hosting router

Prerequisites

Before starting, ensure you have the following:

Environment Variables

After creating your accounts, update your .env.example to be .env.local for running the application locally. Then update the keys for each value.

Step-by-Step Instructions

  1. Clone the Repository

    git clone https://github.com/9d8dev/router.git
    cd router/main

Without Docker

  1. Install Dependencies

    npm install
  2. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  3. Generate the Database Migrations

    npm drizzle-kit generate
  4. Run the Databse Migrations

    npm tsx lib/db/migrate.ts
  5. Start the Development Server

    npm run dev

With docker

  1. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  2. **Run Docker Command

    docker compose up

Deploying to Vercel

  • Push your code to a GitHub repository.
  • Connect your repository to Vercel.
  • Set the environment variables in Vercel's dashboard under "Settings > Environment Variables".

Additional Resources

For any issues or questions, please open an issue on the GitHub repository.

headless-forms
Avatar of routersorouterso/router

Router.so - Headless Forms and Lead Routing

Router.so is headless form handling and lead routing for marketing-minded developers.

Framework
Use Case

Router.so / Open Soruce Form Backend

Description

This is a simple router for forms. Watch a Demo

Self-Hosting router

Prerequisites

Before starting, ensure you have the following:

Environment Variables

After creating your accounts, update your .env.example to be .env.local for running the application locally. Then update the keys for each value.

Step-by-Step Instructions

  1. Clone the Repository

    git clone https://github.com/9d8dev/router.git
    cd router/main

Without Docker

  1. Install Dependencies

    npm install
  2. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  3. Generate the Database Migrations

    npm drizzle-kit generate
  4. Run the Databse Migrations

    npm tsx lib/db/migrate.ts
  5. Start the Development Server

    npm run dev

With docker

  1. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  2. **Run Docker Command

    docker compose up

Deploying to Vercel

  • Push your code to a GitHub repository.
  • Connect your repository to Vercel.
  • Set the environment variables in Vercel's dashboard under "Settings > Environment Variables".

Additional Resources

For any issues or questions, please open an issue on the GitHub repository.

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential