{"id":26105344,"url":"https://github.com/arasgungore/ecommence","last_synced_at":"2026-05-01T22:34:55.234Z","repository":{"id":215090143,"uuid":"738091963","full_name":"arasgungore/eCommence","owner":"arasgungore","description":"An e-commerce app built using React for the frontend and Express for the backend.","archived":false,"fork":false,"pushed_at":"2024-01-02T13:52:22.000Z","size":191,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T21:21:23.331Z","etag":null,"topics":["e-commerce","e-commerce-app","e-commerce-example","e-commerce-platform","e-commerce-project","e-commerce-website","e-commerceplatform","ecommerce","ecommerce-api","ecommerce-application","ecommerce-platform","ecommerce-site","ecommerce-store","ecommerce-website","express","express-js","expressjs","react","react-js","reactjs"],"latest_commit_sha":null,"homepage":"","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/arasgungore.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}},"created_at":"2024-01-02T12:00:32.000Z","updated_at":"2024-01-02T13:50:47.000Z","dependencies_parsed_at":"2024-01-02T13:34:50.060Z","dependency_job_id":"b292a181-5e7d-4ed1-8d7b-be232ea5c856","html_url":"https://github.com/arasgungore/eCommence","commit_stats":null,"previous_names":["arasgungore/ecommence"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arasgungore/eCommence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasgungore%2FeCommence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasgungore%2FeCommence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasgungore%2FeCommence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasgungore%2FeCommence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arasgungore","download_url":"https://codeload.github.com/arasgungore/eCommence/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasgungore%2FeCommence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32515838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["e-commerce","e-commerce-app","e-commerce-example","e-commerce-platform","e-commerce-project","e-commerce-website","e-commerceplatform","ecommerce","ecommerce-api","ecommerce-application","ecommerce-platform","ecommerce-site","ecommerce-store","ecommerce-website","express","express-js","expressjs","react","react-js","reactjs"],"created_at":"2025-03-09T21:05:49.658Z","updated_at":"2026-05-01T22:34:55.215Z","avatar_url":"https://github.com/arasgungore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eCommence\nAn e-commerce app built using React for the frontend and Express for the backend. This project is a full-fledged e-commerce website built to sell a variety of items, including clothing, jewelry, watches, electronics, and more.\n\n\n\n## Project Structure\n\nThe project is organized into two main directories: `backend` for the server-side code and `frontend` for the client-side code.\n\n\n### Backend\n\nThe backend is responsible for handling API requests, interacting with the database, and serving data to the frontend.\n\n- **src/controllers/productController.js**: Handles product-related logic, including fetching data from the external API.\n- **src/models/Product.js**: Defines the schema for the product data stored in the database.\n- **src/routes/productRoutes.js**: Defines the routes for product-related API endpoints.\n- **src/app.js**: Initializes the Express application, sets up middleware, and connects to the database.\n\n\n### Frontend\n\nThe frontend is responsible for presenting the user interface and interacting with the backend to display product information.\n\n- **src/components/ProductList.js**: Displays a list of products fetched from the backend.\n- **src/components/ProductCard.js**: Represents an individual product card with details like name, description, and price.\n- **src/pages/Home.js**: The main landing page that integrates the ProductList component.\n- **src/services/apiService.js**: Handles communication with the backend API.\n\n\n\n## Getting Started\n\nFollow these steps to set up and run the project locally:\n\n1. **Install Dependencies:**\n   ```bash\n   cd ecommence-app/backend\n   npm install\n   cd ../frontend\n   npm install\n   ```\n\n2. **Run the Backend:**\n   ```bash\n   cd ../backend\n   npm start\n   ```\n\n3. **Run the Frontend:**\n   ```bash\n   cd ../frontend\n   npm start\n   ```\n\n4. **Access the Application:**\n   Open your browser and go to [http://localhost:3000](http://localhost:3000) to view the application.\n\n\n\n## Dependencies\n\n- **Backend:**\n  - Express: Fast, unopinionated, minimalist web framework for Node.js.\n  - Cors: Middleware for enabling CORS in Express.\n  - Axios: Promise-based HTTP client for the browser and Node.js.\n\n- **Frontend:**\n  - React: JavaScript library for building user interfaces.\n  - React Router: Declarative routing for React.js.\n  - Axios: Promise-based HTTP client for the browser and Node.js.\n\n\n\n## Customize the Project\n\nTo adapt this project to your needs:\n\n- Replace the OpenWeatherMap API endpoint in `productController.js` with your desired API.\n- Customize the product schema in `Product.js` according to your data structure.\n- Modify the frontend components and styles in the `src/components` and `src/pages` directories.\n\n\n\n## Contributing\n\nIf you would like to contribute to this project, please follow the guidelines in [CONTRIBUTING.md](CONTRIBUTING.md).\n\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n\n\n## Author\n\n👤 **Aras Güngöre**\n\n- LinkedIn: [@arasgungore](https://www.linkedin.com/in/arasgungore)\n- GitHub: [@arasgungore](https://github.com/arasgungore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farasgungore%2Fecommence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farasgungore%2Fecommence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farasgungore%2Fecommence/lists"}