{"id":50294736,"url":"https://github.com/chrisrobison/dollarfish","last_synced_at":"2026-05-28T08:04:01.755Z","repository":{"id":279268484,"uuid":"938255306","full_name":"chrisrobison/dollarfish","owner":"chrisrobison","description":"Platform for getting rid of stuff but the price drops by $1 every hour an item has been listed.  Like eBay but with a timer that lowers the price of your item.","archived":false,"fork":false,"pushed_at":"2025-08-18T01:48:45.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T03:24:58.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/chrisrobison.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}},"created_at":"2025-02-24T17:01:25.000Z","updated_at":"2025-08-18T01:48:48.000Z","dependencies_parsed_at":"2025-02-24T18:33:19.602Z","dependency_job_id":null,"html_url":"https://github.com/chrisrobison/dollarfish","commit_stats":null,"previous_names":["chrisrobison/dollarfish"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisrobison/dollarfish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrobison%2Fdollarfish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrobison%2Fdollarfish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrobison%2Fdollarfish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrobison%2Fdollarfish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisrobison","download_url":"https://codeload.github.com/chrisrobison/dollarfish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrobison%2Fdollarfish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33599494,"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-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2026-05-28T08:03:59.227Z","updated_at":"2026-05-28T08:04:01.743Z","avatar_url":"https://github.com/chrisrobison.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Price Drop Marketplace\n\nA mobile-first marketplace application where item prices automatically reduce by $1 every hour until they reach a seller-defined minimum price. After reaching the minimum price, the price resets to the original asking price and the cycle continues.\n\n## Features\n\n- Mobile-first responsive design\n- Automatic price reduction system\n- User authentication and registration\n- Image upload for item listings\n- Advanced search and filtering\n- Secure API with rate limiting\n- Activity logging and monitoring\n\n## Technology Stack\n\n- **Frontend**: HTML5, CSS3, Vanilla JavaScript\n- **Backend**: Node.js, Express.js\n- **Database**: MySQL\n- **Authentication**: JWT (JSON Web Tokens)\n- **File Uploads**: Multer\n- **Validation**: Joi\n- **Security**: Helmet, bcrypt, express-rate-limit\n- **Logging**: Winston\n\n## Project Structure\n\n```\nprice-drop-marketplace/\n├── public/                  # Static assets\n│   ├── uploads/             # User uploaded images\n│   ├── index.html           # Main HTML file\n│   ├── styles.css           # CSS styles\n│   └── app.js               # Frontend JavaScript\n├── logs/                    # Application logs\n├── middleware.js            # Express middleware\n├── validation.js            # Input validation schemas\n├── logger.js                # Logging configuration\n├── server.js                # Main server file\n├── schema.sql               # Database schema\n├── .env                     # Environment variables\n└── package.json             # Project dependencies\n```\n\n## Prerequisites\n\n- Node.js (v14 or higher)\n- MySQL (v8 or higher)\n- npm or yarn\n\n## Installation\n\n1. **Clone the repository**\n\n```bash\ngit clone https://github.com/yourusername/price-drop-marketplace.git\ncd price-drop-marketplace\n```\n\n2. **Install dependencies**\n\n```bash\nnpm install\n```\n\n3. **Create environment file**\n\nCopy the `.env.example` file to `.env` and update the values:\n\n```bash\ncp .env.example .env\n```\n\n4. **Set up the database**\n\n```bash\n# Create the database and tables\nmysql -u your_username -p \u003c schema.sql\n```\n\n5. **Create required directories**\n\n```bash\nmkdir -p public/uploads logs\n```\n\n## Running the Application\n\n### Development Mode\n\n```bash\nnpm run dev\n```\n\n### Production Mode\n\n```bash\nnpm start\n```\n\nThe application will be available at `http://localhost:3000` (or the port specified in your `.env` file).\n\n## API Endpoints\n\n### Authentication\n\n- `POST /api/auth/register` - Register a new user\n- `POST /api/auth/login` - Login a user\n\n### Items\n\n- `GET /api/items` - Get all available items (with filtering)\n- `POST /api/items` - Create a new item listing (requires authentication)\n- `PATCH /api/items/:id` - Update an item's price (requires authentication)\n- `POST /api/items/:id/purchase` - Purchase an item (requires authentication)\n\n### User Profile\n\n- `GET /api/users/me` - Get current user profile\n- `GET /api/users/me/items` - Get items listed by current user\n- `GET /api/users/me/purchases` - Get purchases made by current user\n\n### Categories\n\n- `GET /api/categories` - Get all available categories\n\n## Security Features\n\n- HTTPS recommended for production\n- Password hashing with bcrypt\n- JWT authentication\n- Input validation and sanitization\n- Rate limiting to prevent brute force attacks\n- CORS protection\n- Helmet security headers\n- File upload restrictions\n\n## License\n\nMIT License\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrobison%2Fdollarfish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisrobison%2Fdollarfish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrobison%2Fdollarfish/lists"}