https://github.com/omnidotdev/backfeed-api
📣 Streamlined user feedback (Backfeed API)
https://github.com/omnidotdev/backfeed-api
analytics community engagement feedback foss mit open-source user-feedback
Last synced: 2 months ago
JSON representation
📣 Streamlined user feedback (Backfeed API)
- Host: GitHub
- URL: https://github.com/omnidotdev/backfeed-api
- Owner: omnidotdev
- License: apache-2.0
- Created: 2023-06-01T05:18:41.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-04-04T07:18:52.000Z (2 months ago)
- Last Synced: 2026-04-06T03:37:11.405Z (2 months ago)
- Topics: analytics, community, engagement, feedback, foss, mit, open-source, user-feedback
- Language: TypeScript
- Homepage:
- Size: 1.74 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Backfeed API
Backfeed is an open-source feedback reporting platform.
## Local Development
First, `cp .env.local.template .env.local` and fill in the values.
### Building and Running
Install dependencies:
```sh
bun install
```
Setup the database (only required once, to create the database):
```sh
bun db:setup
```
Run database migrations:
```sh
bun db:migrate
```
Run the dev server:
```sh
bun run dev
```
### Webhooks (Payments)
Our Backfeed payment processor, [Stripe](https://stripe.com), issues webhooks. Webhooks are used in this project for realtime updates. Webhook events can be received locally through the following steps:
First, follow the steps to download the Stripe CLI and authenticate at the [Stripe CLI installation guide](https://docs.stripe.com/stripe-cli/install).
> [!NOTE]
> If you are completing the login through the browser, make sure you are currently signed in through the proper environment as each environment exposes its own API key.
Once logged in with the Stripe CLI, `stripe listen` will work in the webhooks listener resource in Tilt, which creates a tunnel for local webhook testing. **The output of this provides a webhook signing secret, which you need to fill in the `STRIPE_WEBHOOK_SECRET` environment variable.**
From there, webhook events will be forwarded to the local listener. You can manage the events within the webhooks route under the `/webhooks/stripe` endpoint found in [`src/server.ts`](src/server.ts).
## License
The code in this repository is licensed under Apache 2.0, © [Omni LLC](https://omni.dev). See [LICENSE.md](LICENSE.md) for more information.