{"id":50416643,"url":"https://github.com/nagasaicharan/auction-tracker","last_synced_at":"2026-05-31T06:04:09.732Z","repository":{"id":360026370,"uuid":"1214562242","full_name":"nagasaicharan/auction-tracker","owner":"nagasaicharan","description":"Track Nellis Auction purchases, returns, and resale workflow with a React + Express + SQLite stack.","archived":false,"fork":false,"pushed_at":"2026-05-24T16:17:37.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T18:10:26.381Z","etag":null,"topics":["auction-tracker","express","react","sqlite","vite"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nagasaicharan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-18T18:40:49.000Z","updated_at":"2026-05-24T16:17:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nagasaicharan/auction-tracker","commit_stats":null,"previous_names":["nagasaicharan/auction-tracker"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nagasaicharan/auction-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagasaicharan%2Fauction-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagasaicharan%2Fauction-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagasaicharan%2Fauction-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagasaicharan%2Fauction-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nagasaicharan","download_url":"https://codeload.github.com/nagasaicharan/auction-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagasaicharan%2Fauction-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33720900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auction-tracker","express","react","sqlite","vite"],"created_at":"2026-05-31T06:04:08.903Z","updated_at":"2026-05-31T06:04:09.725Z","avatar_url":"https://github.com/nagasaicharan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auction Tracker\n\nAuction Tracker is a full-stack app for tracking Nellis Auction purchases after checkout. It helps you sync purchases, manage item status, submit returns, and track resale performance.\n\n## Features\n\n- Nellis account login from the app UI\n- Purchase sync from Nellis with pagination and detail enrichment\n- SQLite-backed local storage with safe migrations\n- Status workflow (`pending`, `received`, `inspected`, `returned`, `keep`, `sell_fb`, `sold_fb`)\n- Bulk status updates for selected items\n- Return submission endpoint for eligible orders\n- Summary metrics for spend, sold revenue, and profit\n\n## Tech Stack\n\n- Frontend: React + Vite\n- Backend: Express\n- Database: SQLite (`better-sqlite3`)\n- Styling/UI: Tailwind CSS + Lucide icons\n\n## Project Structure\n\n```text\nsrc/             React UI, hooks, API client\nserver/          Express API, Nellis integration, SQLite setup\npublic/          Static assets\nauction-tracker.db  Local SQLite file (auto-created)\n```\n\n## Prerequisites\n\n- Node.js 20+\n- npm 10+\n- A valid Nellis Auction account\n\n## Environment Variables\n\nCopy `.env.example` to `.env` and provide your values:\n\n```bash\ncp .env.example .env\n```\n\n| Variable | Required | Description |\n| --- | --- | --- |\n| `PORT` | No | API server port. Defaults to `3001`. |\n| `NODE_ENV` | No | Set to `production` to make Express serve the built client from `dist/`. Defaults to `development`. |\n| `DB_PATH` | No | Path to the SQLite database file. Defaults to `./auction-tracker.db`. In containerized deploys, point this at a persistent volume (e.g. `/data/auction-tracker.db`). |\n| `NELLIS_COOKIES` | No | Optional bootstrap cookie string for auth session. In normal usage, login from UI and let the app manage session cookies. |\n\nSecurity notes:\n\n- Never commit `.env`.\n- Rotate Nellis credentials/cookies if you suspect exposure.\n\n## Install\n\n```bash\nnpm install\n```\n\n## Run Locally\n\nStart client and server together:\n\n```bash\nnpm run dev\n```\n\nThis launches:\n\n- Client: Vite dev server (default `http://localhost:5173`)\n- API: Express server (default `http://localhost:3001`)\n\n## Build and Lint\n\n```bash\nnpm run lint\nnpm run build\n```\n\n## API Overview\n\nThe backend is mounted at `/api`.\n\n- `GET /api/health`\n- `GET /api/auth/status`\n- `POST /api/auth/login`\n- `POST /api/auth/logout`\n- `GET /api/purchases`\n- `GET /api/purchases/summary`\n- `PATCH /api/purchases/:id`\n- `PATCH /api/purchases/bulk/status`\n- `POST /api/sync`\n- `POST /api/returns/:buyNowId`\n\nDetailed request/response docs are in `docs/api.md`.\n\n## Data Model Notes\n\nThe app stores purchases locally in SQLite and applies migrations at startup. The database file is generated automatically and ignored by git.\n\nCore fields include:\n\n- Purchase identity (`product_id`, `buy_now_id`, `title`)\n- Pricing (`purchase_price`, `buyer_premium`, `tax_amount`, `total_cost`, `fb_sold_price`)\n- Workflow and annotations (`status`, `notes`, `fb_sold_date`, `return_submitted`)\n\n## Troubleshooting\n\n- Login fails:\n\t- Verify Nellis credentials.\n\t- Confirm outbound access to `https://www.nellisauction.com`.\n- Sync fails with auth errors:\n\t- Log out and log back in from the app.\n- Empty list after sync:\n\t- Confirm your Nellis account has purchase history.\n\n## License\n\nMIT. See `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagasaicharan%2Fauction-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnagasaicharan%2Fauction-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagasaicharan%2Fauction-tracker/lists"}