{"id":26507384,"url":"https://github.com/jabercrombia/invoice-tracker","last_synced_at":"2026-04-07T07:43:19.035Z","repository":{"id":281769704,"uuid":"946368647","full_name":"jabercrombia/invoice-tracker","owner":"jabercrombia","description":"Created an invoice tracker with sample data using Nextjs and data visualizations.","archived":false,"fork":false,"pushed_at":"2025-04-07T02:49:50.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:35:14.670Z","etag":null,"topics":["data-analysis","nextjs","postgres","shadcn","vercel"],"latest_commit_sha":null,"homepage":"https://invoice-tracker-tau.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabercrombia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-03-11T03:07:48.000Z","updated_at":"2025-04-07T02:49:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd7f7788-172f-4a08-8109-1598d66be719","html_url":"https://github.com/jabercrombia/invoice-tracker","commit_stats":null,"previous_names":["jabercrombia/invoice-tracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jabercrombia/invoice-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabercrombia%2Finvoice-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabercrombia%2Finvoice-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabercrombia%2Finvoice-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabercrombia%2Finvoice-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabercrombia","download_url":"https://codeload.github.com/jabercrombia/invoice-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabercrombia%2Finvoice-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["data-analysis","nextjs","postgres","shadcn","vercel"],"created_at":"2025-03-20T23:19:08.392Z","updated_at":"2026-04-07T07:43:19.017Z","avatar_url":"https://github.com/jabercrombia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoice Tracker\n![dashboard](/public/dashboard.png)\nThis is a work in progress that I am currently working on integrating Postgre SQL and Nextjs.\n## Overview\nThe **Invoice Tracker** is a web application built using **Next.js**, **PostgreSQL**, **Tailwind CSS**, and **ShadCN**. It allows users to **create, manage, and track invoices** efficiently while storing data securely in a PostgreSQL database.\n\n## Features\n- **Create and Manage Invoices**: Users can add invoices with details like client name, amount, status, and due date.\n- **Store Data in PostgreSQL**: Securely saves invoice records in a PostgreSQL database.\n- **Modern UI with ShadCN \u0026 Tailwind**: Provides a clean and user-friendly interface.\n- **Dynamic Filtering and Sorting**: Allows users to filter invoices by status (Pending, Paid, Overdue, etc.).\n- **Responsive Design**: Fully mobile-friendly and optimized for various screen sizes.\n\n## Technologies Used\n- **Next.js** – React framework for building server-side rendered (SSR) and static web applications.\n- **PostgreSQL** – Relational database for storing invoice records.\n- **Tailwind CSS** – Utility-first CSS framework for styling.\n- **ShadCN** – Modern UI components for a sleek user experience.\n\n## Installation\n### Prerequisites\nEnsure you have the following installed:\n- **Node.js** (Latest LTS version)\n- **PostgreSQL** (Running locally or on AWS RDS)\n\n### Steps to Run Locally\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/invoice-tracker.git\n   cd invoice-tracker\n   ```\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Set up environment variables:\n   Create a `.env.local` file and add your PostgreSQL database credentials:\n   ```env\n   DATABASE_URL=\n   ```\n4. Run database migrations:\n   ```bash\n   npx prisma migrate dev --name init\n   ```\n5. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n## API Endpoints\n| Method | Endpoint         | Description                   |\n|--------|----------------|-------------------------------|\n| GET    | /api/invoices  | Fetch all invoices           |\n| POST   | /api/invoices  | Create a new invoice         |\n| PUT    | /api/invoices/:id | Update invoice details  |\n| DELETE | /api/invoices/:id | Delete an invoice      |\n\n## UI Components\n- **Invoice Form**: Uses ShadCN `Input`, `Select`, and `Button` components.\n- **Invoice Table**: Displays stored invoices with Tailwind styling.\n- **Status Dropdown**: Uses ShadCN `Select` to update invoice status.\n\n## Deployment\nTo deploy on **Vercel**, run:\n```bash\nvercel\n```\nEnsure that the **DATABASE_URL** environment variable is set correctly on Vercel.\n\n## License\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabercrombia%2Finvoice-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabercrombia%2Finvoice-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabercrombia%2Finvoice-tracker/lists"}