Skip to content

Repository files navigation

SpareSense

SpareSense is a personal finance dashboard that turns everyday transactions into round‑up savings and a Solana Devnet micro‑investment flow. It blends simulated data with a financial‑literacy experience to help users build better money habits.

Demo

  • Live/demo video: add link

Features

  • Solana Devnet Round‑Up: send round‑ups as on‑chain micro‑transactions.
  • Financial Literacy Quiz: gamified flashcards and tips.

Tech Stack

  • Vite + React + TypeScript
  • Tailwind + shadcn-ui
  • Express API proxy
  • Solana Web3

Getting Started

1) Install dependencies

npm install

2) Set environment variables

Create a .env file at the repo root:

cp .env.example .env

Then add your keys:

SOLANA_CLUSTER=devnet
SOLANA_VAULT_PUBLIC_KEY=...

3) Run the app

npm run dev:all

This starts:

  • Vite frontend on http://localhost:8080
  • API server on http://localhost:8787

If you prefer separate terminals:

npm run dev
npm run dev:server

Hackathon Track Alignment

Solana Track

  • Send Round‑Up to Solana Devnet creates real devnet transactions to a vault address (or fallback to self).

GitHub “Ship It”

  • GitHub Actions CI, PR template, and Issue templates included.
  • Use Issues/PRs/Release to meet submission requirements.

Useful Scripts

npm run dev
npm run dev:server
npm run dev:all
npm run lint
npm run test
npm run build

Notes

  • The Solana vault public key is optional; if empty, the app will send round‑ups to the temporary payer address.

Releases

Packages

Contributors

Languages