Next-Gen API Development & Testing Platform
Impulse is a modern, high-performance API testing and development environment built for the AI era. It combines the utility of traditional tools like Postman with advanced AI capabilities, realtime collaboration, and a sleek, developer-centric UI.
- 🚀 Smart API Client: Full-featured HTTP client supporting GET, POST, PUT, DELETE, PATCH, and more.
- 🤖 AI-Powered:
- Smart Naming: AI automatically suggests descriptive names for your requests based on context.
- JSON Generation: Generate complex JSON bodies from natural language prompts.
- ⚡ Realtime Collaboration: (In Progress) Work with your team in real-time.
- 🏢 Workspace Management: Organize your projects into workspaces with role-based access control.
- 📁 Collections: Group related requests for better organization.
- 🌗 Dark Mode: Beautiful, dark-themed UI designed for long coding sessions.
- 🔐 Secure Authentication: Robust auth system supporting GitHub and Google OAuth.
- 🛡️ Type-Safe: Built with end-to-end type safety using TypeScript, Zod, and Prisma.
Impulse is built with a modern, production-grade stack:
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Database: PostgreSQL
- ORM: Prisma
- Styling: Tailwind CSS v4
- Components: Shadcn UI (Radix Primitives)
- Icons: Lucide React
- Editor: Monaco Editor
- State Management: Zustand & TanStack Query
- Auth: Better Auth
- AI: Google Gemini 2.0 Flash via Vercel AI SDK
- Validation: Zod
- Node.js (v18+)
- Docker (for local database)
- npm or pnpm
-
Clone the repository
git clone https://github.com/yourusername/impulse.git cd impulse -
Install dependencies
npm install
-
Environment Setup Create a
.envfile in the root directory and add the following variables:# Database DATABASE_URL="postgresql://user:password@localhost:5432/impulse?schema=public" # Auth (Better Auth) BETTER_AUTH_SECRET="your_generated_secret" GITHUB_CLIENT_ID="your_github_id" GITHUB_CLIENT_SECRET="your_github_secret" GOOGLE_CLIENT_ID="your_google_id" GOOGLE_CLIENT_SECRET="your_google_secret" # AI (Google Gemini) GOOGLE_GENERATIVE_AI_API_KEY="your_gemini_api_key" # App NEXT_PUBLIC_APP_URL="http://localhost:3000"
-
Start Database
docker compose up -d
-
Run Migrations
npx prisma migrate dev
-
Start Development Server
npm run dev
Visit
http://localhost:3000to see the app in action.
The project follows a modular architecture in src/modules:
src/
├── app/ # Next.js App Router pages
├── components/ # Shared UI components
├── lib/ # Core utilities (DB, Env, API clients)
├── modules/ # Feature-based modules
│ ├── ai/ # AI integration logic
│ ├── authentication/ # Auth components and actions
│ ├── collections/ # Collection management
│ ├── invites/ # Workspace invitation system
│ ├── realtime/ # WebSocket/Realtime logic
│ ├── request/ # Request builder & execution
│ └── workspace/ # Workspace & member management
└── styles/ # Global styles
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.