An open API service indexing awesome lists of open source software.

https://github.com/dorkydhruv/crappier

A poor implementation of Zapier that automates solana transactions.
https://github.com/dorkydhruv/crappier

docker-compose nextjs nodejs solana

Last synced: 3 months ago
JSON representation

A poor implementation of Zapier that automates solana transactions.

Awesome Lists containing this project

README

          

# Crappier: A poor Zapier

A Zapier-like project that automates Solana transactions. Built using Next.js (frontend and backend) and a Node.js worker that retrieves running jobs from Kafka. Transactions employ SOL stored in a PDA pot. If the transfer exceeds the pot balance, customers will receive an email asking them to refill. Scalable with Kubernetes and Docker.

## For NEXTJS APP (frontend):

Contains the backend and frontend.

Uses [React-flow](https://reactflow.dev) for Zap create page

```bash
cd frontend && npm run dev
```

#### Environment Variables

`AUTH_SECRET`
`GOOGLE_CLIENT_ID`
`GOOGLE_CLIENT_SECRET`
`DATABASE_URL`
`COMMUNICATION_SERVICES_CONNECTION_STRING`
`NEXTAUTH_URL`
`NEXT_PUBLIC_URL`
`NEXT_PUBLIC_WORKER`

## For Worker:

Pulls the active zaps from a kafka queue.

```bash
cd worker && docker compose up --build
```

#### Environment Variables

`DATABASE_URL`
`COMMUNICATION_SERVICES_CONNECTION_STRING`
`ANCHOR_PRIVATE_KEY`

---

### See it in action

[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/r8aTzBHcSoE/0.jpg)](https://www.youtube.com/watch?v=r8aTzBHcSoE)