Skip to content

Repository files navigation

NodeBase Cover

NodeBase

A powerful workflow automation platform built with Next.js 15, featuring visual workflow creation, AI integrations, and seamless third-party service connections.

Features

  • Visual Workflow Builder: Drag-and-drop interface powered by XYFlow for creating complex automation workflows
  • AI Integration: Built-in support for OpenAI, Anthropic Claude, and Google Gemini
  • Real-time Execution: Powered by Inngest for reliable background job processing
  • Webhook Support: Trigger workflows from external services (Stripe, Google Forms, Discord, Slack)
  • Type-safe API: Full-stack type safety with tRPC and Zod validation
  • Modern UI: Beautiful, responsive interface built with Radix UI and Tailwind CSS
  • Authentication: Secure auth system with Better Auth supporting multiple OAuth providers
  • Database: PostgreSQL with Prisma ORM for robust data management
  • Error Tracking: Integrated Sentry for monitoring and debugging

Tech Stack

  • Framework: Next.js 15 (App Router) with React 19
  • Language: TypeScript
  • Database: PostgreSQL with Prisma ORM
  • Styling: Tailwind CSS 4 with Radix UI components
  • State Management: Jotai for atomic state management
  • API: tRPC for end-to-end type-safe APIs
  • Background Jobs: Inngest for workflow execution
  • Authentication: Better Auth with OAuth support
  • AI SDKs: Vercel AI SDK with multiple provider support
  • Code Quality: Biome for linting and formatting
  • Monitoring: Sentry for error tracking

Prerequisites

  • Node.js 20+
  • PostgreSQL database
  • npm/yarn/pnpm

Installation

  1. Clone the repository
git clone https://github.com/Edwinfom00/nodebase.git
cd nodebase
  1. Install dependencies
npm install
  1. Set up environment variables
cp .env.example .env

Edit .env and configure:

  • Database connection (DATABASE_URL)
  • Encryption key (32 characters)
  • Inngest keys
  • Better Auth secret
  • OAuth credentials for integrations you want to use
  1. Set up the database
npm run db:generate
npm run db:migrate
  1. Run the development server
npm run dev

Open http://localhost:3000 to see the application.

Available Scripts

  • npm run dev - Start development server with Turbopack
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run Biome linter
  • npm run format - Format code with Biome
  • npm run db:generate - Generate Prisma client
  • npm run db:migrate - Run database migrations
  • npm run db:studio - Open Prisma Studio
  • npm run inngest - Start Inngest dev server
  • npm run dev:all - Run all services with mprocs

Workflow Node Types

  • Triggers: Manual, HTTP Request, Google Forms, Stripe webhooks
  • AI Models: OpenAI, Anthropic Claude, Google Gemini
  • Actions: Discord, Slack, and more coming soon

Security

  • Encrypted credential storage using Cryptr
  • Secure OAuth flow implementation
  • Environment-based configuration
  • Session management with Better Auth
  • Input validation with Zod schemas

Database Schema

The application uses PostgreSQL with the following main models:

  • User: User accounts and profiles
  • Workflow: Workflow definitions
  • Node: Individual workflow nodes
  • Connection: Links between nodes
  • Execution: Workflow execution history
  • Credential: Encrypted API credentials

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is private and proprietary.

Bug Reports

For bug reports and feature requests, please use the issue tracker or contact the development team.

Support

For support and questions, please reach out to the development team.


Built with using Next.js and modern web technologies

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages