{"id":27061213,"url":"https://github.com/felipefma/market","last_synced_at":"2026-02-13T13:03:09.886Z","repository":{"id":280906459,"uuid":"943563442","full_name":"FelipeFMA/market","owner":"FelipeFMA","description":"market","archived":false,"fork":false,"pushed_at":"2025-03-13T00:53:02.000Z","size":1041,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T14:20:31.130Z","etag":null,"topics":[],"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/FelipeFMA.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-05T23:01:11.000Z","updated_at":"2025-03-13T00:53:05.000Z","dependencies_parsed_at":"2025-03-06T00:35:21.801Z","dependency_job_id":null,"html_url":"https://github.com/FelipeFMA/market","commit_stats":null,"previous_names":["felipefma/market"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FelipeFMA/market","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelipeFMA%2Fmarket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelipeFMA%2Fmarket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelipeFMA%2Fmarket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelipeFMA%2Fmarket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FelipeFMA","download_url":"https://codeload.github.com/FelipeFMA/market/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelipeFMA%2Fmarket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259843316,"owners_count":22920309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-04-05T14:20:06.537Z","updated_at":"2026-02-13T13:03:04.843Z","avatar_url":"https://github.com/FelipeFMA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛍️ Online Market Project\n\n## 📝 Overview\nA simple yet functional online market system with customer and admin interfaces. This project was created for learning purposes and to explore web development concepts in a practical way.\n\n## 🎯 Purpose\n- Learning project to understand JavaScript, HTML, and CSS\n- Experimenting with client-server architecture\n- Understanding state management and DOM manipulation\n- Practice working with APIs and data persistence\n\n## 🚀 Features\n### Customer Interface\n- Browse products\n- Add items to cart\n- Real-time price calculation\n- Search functionality\n- Dark/Light theme toggle\n\n### Admin Interface\n- Add new products\n- Edit existing products\n- Delete products\n- View statistics\n- Search functionality\n\n## ⚙️ Technical Details\n- Frontend: HTML, CSS, JavaScript\n- Backend: Node.js with Express\n- Data Storage: JSON file\n- API: RESTful endpoints\n\n## 🤖 AI Assistance\nThis project was developed with significant help from AI tools as part of the learning process. The code structure and implementation were guided by AI while learning JavaScript and web development concepts.\n\n## 🚧 Code Status\nThe current codebase is a working prototype but needs significant refactoring:\n- Code organization needs improvement\n- Better separation of concerns needed\n- Comments and documentation to be added\n- Error handling could be enhanced\n- Security features to be implemented\n\n## 📦 Installation\n1. Clone the repository\n```bash\ngit clone [repository-url]\n```\n\n2. Install dependencies\n```bash\nnpm install express cors\n```\n\n## 🎮 Running the Project\n1. Navigate to the project directory\n```bash\ncd market\n```\n\n2. Start the server\n```bash\nnode server.js\n```\n\n3. Access the application\n- Open your browser and go to `http://localhost:3000`\n\n4. Default Admin Credentials\n```json\n{\n  \"username\": \"admin\",\n  \"password\": \"123456\"\n}\n```\n\n## 🔧 Requirements\n- Node.js\n- NPM\n- Modern web browser\n\n## 👥 Contributing\nFeel free to fork, modify, and make pull requests. As this is a learning project, any input or suggestions are welcome!\n\n## 📝 Note\nThis project is not intended for production use. It's a learning tool and demonstration of basic web development concepts.\n\n## 🙏 Acknowledgments\nSpecial thanks to [Ítalo](https://github.com/Italo-Schezar), a friend of mine that gave me the idea of this project and to ChatGPT/Claude because... well... LOL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefma%2Fmarket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipefma%2Fmarket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefma%2Fmarket/lists"}