{"id":26571843,"url":"https://github.com/ahmad-masud/surfmarc","last_synced_at":"2026-04-11T11:04:51.373Z","repository":{"id":282980719,"uuid":"950297062","full_name":"ahmad-masud/SurfMarc","owner":"ahmad-masud","description":"Get comprehensive product information, price history, and reviews all in one place","archived":false,"fork":false,"pushed_at":"2025-03-25T22:29:49.000Z","size":191,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T10:54:56.292Z","etag":null,"topics":["docker","fastapi","huggingface-transformers","nextjs","playwright","python3","supabase","tailwind","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ahmad-masud.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-03-18T00:09:49.000Z","updated_at":"2025-05-05T00:29:32.000Z","dependencies_parsed_at":"2025-03-18T01:24:50.914Z","dependency_job_id":"f6c41fe5-9e62-4480-821a-0d02d6ae65c3","html_url":"https://github.com/ahmad-masud/SurfMarc","commit_stats":null,"previous_names":["ahmad-masud/surfmarc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmad-masud/SurfMarc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FSurfMarc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FSurfMarc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FSurfMarc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FSurfMarc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmad-masud","download_url":"https://codeload.github.com/ahmad-masud/SurfMarc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FSurfMarc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":["docker","fastapi","huggingface-transformers","nextjs","playwright","python3","supabase","tailwind","typescript"],"created_at":"2025-03-22T23:16:47.588Z","updated_at":"2026-04-11T11:04:51.367Z","avatar_url":"https://github.com/ahmad-masud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SurfMarc\n\nSurfMarc is a web application that helps users make informed purchase decisions by providing comprehensive product information, price tracking, and sentiment analysis.\n\n## Features\n\n- **Price Tracking**: Monitor price changes and get notified when prices drop to your desired level.\n- **Product Analysis**: Get detailed product information, specifications, and comparisons across different sellers.\n- **Sentiment Analysis**: Analyze customer reviews and feedback to understand product sentiment and make data-driven decisions.\n\n## Tech Stack\n\n- **Frontend**: Next.js 14 with TypeScript and Tailwind CSS\n- **Backend**: FastAPI with Python 3.11.2\n- **Database**: Supabase\n- **Authentication**: JWT with FastAPI\n- **Containerization**: Docker and Docker Compose (Backend only)\n\n## Project Structure\n\n```\nsurfmarc/\n├── .env                  # Environment variables\n├── docker-compose.yml    # Docker Compose configuration\n├── server/              # Backend server code\n│   ├── Dockerfile\n│   ├── .dockerignore\n│   ├── requirements.txt\n│   └── app/\n│       ├── api/\n│       ├── core/\n│       ├── crud/\n│       ├── db/\n│       ├── models/\n│       └── schemas/\n└── app/                 # Frontend code\n    ├── components/\n    ├── globals.css\n    └── page.tsx\n```\n\n## Prerequisites\n\n- Node.js 18.x or later\n- Python 3.11.2\n- Docker and Docker Compose\n- Supabase account and credentials\n\n## Environment Variables\n\nCreate a `.env` file in the root directory with the following variables:\n\n```env\n# Supabase Configuration\nSUPABASE_URL=your_supabase_url\nSUPABASE_KEY=your_supabase_key\n\n# JWT Configuration\nSECRET_KEY=your_secret_key\nALGORITHM=HS256\nACCESS_TOKEN_EXPIRE_MINUTES=43200\n\n# URLS\nNEXT_PUBLIC_SERVER_URL=http://localhost:8000\nCLIENT_URL=http://localhost:3000\n```\n\n## Getting Started\n\n### Backend Setup\n\n#### Using Docker (Recommended)\n\n1. Make sure Docker Desktop is running\n2. Build and start the container:\n   ```bash\n   docker-compose up --build\n   ```\n3. Access the API at http://localhost:8000\n4. View API documentation at http://localhost:8000/docs\n\nThe container is configured with hot-reload enabled, so any changes you make to the server code will automatically restart the application.\n\n#### Manual Setup\n\n1. Create and activate a virtual environment:\n\n   ```bash\n   # Windows\n   python -m venv venv\n   venv\\Scripts\\activate\n\n   # Unix/MacOS\n   python3 -m venv venv\n   source venv/bin/activate\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   cd server\n   pip install -r requirements.txt\n   ```\n\n3. Start the FastAPI server:\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n### Frontend Setup\n\n1. Install dependencies:\n\n   ```bash\n   cd app\n   npm install\n   ```\n\n2. Start the development server:\n\n   ```bash\n   npm run dev\n   ```\n\n3. Access the application at http://localhost:3000\n\n## API Endpoints\n\n- `POST /api/v1/auth/register`: Register a new user\n- `POST /api/v1/auth/login`: Login and get access token\n- `GET /api/v1/users/me`: Get current user information\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\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-masud%2Fsurfmarc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmad-masud%2Fsurfmarc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-masud%2Fsurfmarc/lists"}