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

https://github.com/statico/state-of-ai-coding-tools

Vibe-coded tool to survey a private slack channel over time
https://github.com/statico/state-of-ai-coding-tools

vibe-coding

Last synced: 8 months ago
JSON representation

Vibe-coded tool to survey a private slack channel over time

Awesome Lists containing this project

README

          

# AI Coding Tools Weekly Survey

A weekly survey for a private community on use, adoption, and experiences with AI coding tools. Heavily influenced by the [State of JS surveys](https://stateofjs.com/).

screenshot of intro page and welcome

## Setup

### Prerequisites

- Node.js 24+
- pnpm package manager
- PostgreSQL database (Postgres.app or Docker)

### Installation

1. **Create environment file:**

```bash
cp .env.example .env
```

2. **Install dependencies:**

```bash
pnpm install
```

3. **Run database migrations:**

```bash
pnpm db:latest
```

4. **Sync survey configuration:**

```bash
pnpm db:sync
```

5. **Seed database with sample data:**

```bash
pnpm db:seed
```

6. **Start development server:**

```bash
pnpm dev
```

...and access the survey at http://localhost:3000/

## Development

### Config Changes

When modifying `config.yml`, simply update the config and run `pnpm db:sync` to apply changes. The sync process is designed to migrate questions as the survey evolves over time without creating duplicate data.

### Database Changes

When making database schema changes:

1. Create a new Kysely migration in `src/server/db/migrations/`
2. Apply migrations: `pnpm db:latest`
3. Generate TypeScript types: `pnpm db:codegen`
4. Export schema documentation: `pnpm db:schema`

## License

[MIT License](LICENSE)