FrancesCoronel/pb-app

★ 0Forks 0TypeScriptGitHub ↗Compare
nextjsopenaisupabasetailwindcsstechnical-interviewtypescript

README

PB App

Take-home technical exercise for a Prototyping Engineer role.

A participatory budgeting app where community members submit, discuss, and upvote budget requests. The most-supported requests surface to the top for project proposals.

Company: Superpowered

Features

  • Submit budget requests
  • Upvote and discuss community requests
  • Detailed request view with threaded comments
  • AI-generated expert feedback on new requests via OpenAI
  • Auth and data persistence via Supabase

Tech Stack

Getting Started

Install dependencies:

npm install

Copy .env.example to .env and fill in your Supabase and OpenAI keys:

cp .env.example .env

Run the development server:

npm run dev

Open http://localhost:3000.

Test Users

Create your own test users via the sign-up page. You will need your own Supabase and OpenAI API keys configured in .env (see .env.example).

Architecture

Built on Supabase for auth and data, with an OpenAI integration that auto-generates an expert comment whenever a new budget request is submitted.

Caveats

  • No automated testing (Cypress/Jest would be recommended)
  • No Storybook component documentation
  • AI comment generation was partially implemented within the time constraint

Contributors

FrancesCoronel

Issues