Git Product home page Git Product logo

hack4good's Introduction

hack4good

landing

Demo: https://hack4good-ten.vercel.app/

About

We built an AI powered volunteer analytics platform, providing the means for NPO's to collect and store high quality feedback data.

Use the tools you love!

This tool is integrated with Google Forms. We've all used it before and we know it's good, so why reinvent the wheel?

You just need to provide the permissions & link, we do all the work ingesting, storing & quantifying the responses. For this purpose, we use the Mixtral-8x7B-v0.1 to rate volunteer satisfaction $\in [1,5]$, along with providing a qualitative reason for this rating based on their responses.

This way, there isn't a need to enforce strict form schemas or mundane yes/no questions that can be easily parsed progamatically.

diagram-export-10-02-2024-3_27_52-am

form-demo.mp4

To give us permission to access your forms, you need to add [email protected] as a Collaborator

Minimal UI & Interactive Visualisations

Distraction free, user friendly & fully mobile responsive.

Developing

Please refer to the individual README.md's within ui/ and server/

Tech Stack

Backend

Python with Django, SQLite, Pydantic, OpenAI, Instructor, Google Forms API managed with Poetry

Deployed on fly.io

Frontend

Svelte/Typescript with SvelteKit, TailwindCSS, shadcn/ui, Marked, Chart.JS, Zod

Deployed on Vercel

System Diagram

diagram-export-09-02-2024-4_41_54-pm

hack4good's People

Contributors

hewliyang avatar chriswengqi avatar brextonho avatar

hack4good's Issues

last feat: dataviz

with the fake data we have plot metrics, charts, etc on the main route /

discuss: camel vs snake case

In the Django app we abide by the Python convention of snake case (start_time), but in the SvelteKit app we abide by the JavaX convention of camel case (startTime).

As a result, there is a mismatch when trying to duplicate types across the frontend and backend. For example:

type Event = {
  startTime: string
}

whereas the payload returned by the server looks like

{
  start_time: ...
}

so when trying to access attributes in the markup such as:

<script lang="ts">
  import type { Event } from "$lib/types";
  const { event } : { event: Event[] } = data;
</script>

<p>{event.start_time}</p>

we will get Typescript errors.

Todo: Change everything to either camel/snake case.

feat: all volunteers page

/volunteers should display a data-table of all the volunteers (ideally including pagination)

we will need to fetch the list of all volunteers by sending a GET request to API_ENDPOINT + "volunteers/".

feat: AI

for every form response
we will pass it formatted as Markdown like this:

# Form Title

Q: What is your name?
A: Hew Li Yang

Q: How was the event?
A: Horrible
.
.
.

to a LLM and ask it to give an ordinal $\text{satisfaction} \in [1,5]$

  • server
  • ui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.