{"id":21997617,"url":"https://github.com/ali-raza764/ecommerce-website-shopfinity","last_synced_at":"2025-04-30T21:05:20.016Z","repository":{"id":233151389,"uuid":"761136930","full_name":"Ali-Raza764/ecommerce-website-shopfinity","owner":"Ali-Raza764","description":"A website for online shopping made using nextjs 14 app router","archived":false,"fork":false,"pushed_at":"2024-06-08T05:15:08.000Z","size":1698,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T21:05:19.718Z","etag":null,"topics":["admin-dashboard","authjs","ecommerce","mongodb","nextjs14","react","serveractions","shopping-site","stripe"],"latest_commit_sha":null,"homepage":"https://shopfinity-ecommerce.netlify.app","language":"JavaScript","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/Ali-Raza764.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}},"created_at":"2024-02-21T10:02:29.000Z","updated_at":"2024-11-01T06:50:47.000Z","dependencies_parsed_at":"2024-04-16T11:44:09.762Z","dependency_job_id":"0b98c22a-88a0-455a-a5bd-a25c0b86e70c","html_url":"https://github.com/Ali-Raza764/ecommerce-website-shopfinity","commit_stats":null,"previous_names":["ali-raza764/ecommerce-website-shopfinity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-Raza764%2Fecommerce-website-shopfinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-Raza764%2Fecommerce-website-shopfinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-Raza764%2Fecommerce-website-shopfinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-Raza764%2Fecommerce-website-shopfinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ali-Raza764","download_url":"https://codeload.github.com/Ali-Raza764/ecommerce-website-shopfinity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251782760,"owners_count":21642986,"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":["admin-dashboard","authjs","ecommerce","mongodb","nextjs14","react","serveractions","shopping-site","stripe"],"created_at":"2024-11-29T22:17:26.614Z","updated_at":"2025-04-30T21:05:19.930Z","avatar_url":"https://github.com/Ali-Raza764.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopfinity\n\nWelcome to **Shopfinity**, an advanced eCommerce application built with the latest technologies. Shopfinity offers a comprehensive solution for online shopping, including user authentication, product management, payment processing, and an intuitive admin dashboard.\n\n![Homepage Image](homepage.png)\n\n## Features\n\n- **Next.js 14**: Utilizes the latest app router and features from Next.js for fast, SEO-friendly, and server-side rendered web applications.\n- **MongoDB**: A NoSQL database for efficient data storage and retrieval.\n- **Auth.js (Next-Auth)**: Secure and scalable authentication solutions.\n- **Stripe**: Integrated payment gateway for handling transactions.\n- **Admin Dashboard**: Manage products, orders, and users seamlessly.\n- **Responsive Design**: Ensures a great user experience on all devices.\n- **Shipping Address Collection**: Collect and manage shipping details with ease.\n- **Tailwind CSS**: For efficient and customizable styling.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14.x or later)\n- npm (v6.x or later) or yarn (v1.x or later)\n- MongoDB instance\n- Stripe account and API keys\n\n### Installation\n\n1. **Clone the repository**\n\n    ```bash\n    git clone https://github.com/yourusername/shopfinity.git\n    cd shopfinity\n    ```\n\n2. **Install dependencies**\n\n    ```bash\n    npm install\n    # or\n    yarn install\n    ```\n\n3. **Environment Variables**\n\n    Create a `.env.local` file in the root directory and add the following environment variables:\n\n    ```plaintext\n    MONGODB_URI=your_mongodb_connection_string\n    AUTH_SECRET=your_auth_secret\n    AUTH_GITHUB_ID=your_github_client_id\n    AUTH_GITHUB_SECRET=your_github_client_secret\n    AUTH_GOOGLE_ID=your_google_client_id\n    AUTH_GOOGLE_SECRET=your_google_client_secret\n    NEXT_STRIPE_SECRET_KEY=your_stripe_secret_key\n    NEXT_STRIPE_PUBLIC_KEY=your_stripe_public_key\n    STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret\n    RESEND_API_KEY=your_resend_api_key\n    NEXT_ADMIN_EMAIL=your_admin_email\n    AUTH_TRUST_HOST=true\n    ```\n\n4. **Run the development server**\n\n    ```bash\n    npm run dev\n    # or\n    yarn dev\n    ```\n\n    Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Project Structure\n\n- **/app**: Contains all the routes.\n- **/components**: Reusable React components.\n- **/lib**: Configuration for MongoDB, Stripe, and authentication.\n- **/lib/models**: Mongoose models for MongoDB.\n- **/utils**: Utility functions.\n\n## Usage\n\n### Authentication\n\n- Users can sign up and log in using their email or third-party providers (Google, GitHub, etc.).\n- Authenticated users can access their profiles, order history, and more.\n\n### Admin Dashboard\n\n- Accessible only by users with admin privileges.\n- Manage products: Add, edit, or delete products.\n- Manage orders: View order details, update order status.\n- Manage users: View user information, assign admin roles.\n\n### Payments\n\n- Integrated with Stripe for secure payment processing.\n- Users can add items to the cart and proceed to checkout.\n- Shipping address collection during checkout.\n\n### Tailwind CSS\n\n- Tailwind CSS is used for styling. You can customize the styles by editing the `tailwind.config.js` file and adding your custom CSS classes in the `styles/globals.css` file.\n\n\n## Contributing\n\nWe welcome contributions! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature`).\n3. Make your changes.\n4. Commit your changes (`git commit -am 'Add new feature'`).\n5. Push to the branch (`git push origin feature/your-feature`).\n6. Create a new Pull Request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Acknowledgements\n\n- [Next.js](https://nextjs.org/)\n- [MongoDB](https://www.mongodb.com/)\n- [Auth.js (Next-Auth)](https://authjs.dev)\n- [Stripe](https://stripe.com/)\n- [Tailwind CSS](https://tailwindcss.com/)\n\n---\n\n## Live Demo\n\nCheck out the live demo of Shopfinity [here](https://shopfinity-ecommerce.netlify.app).\n\nFeel free to customize this `README.md` file according to your project's specific requirements. Enjoy building with Shopfinity!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-raza764%2Fecommerce-website-shopfinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali-raza764%2Fecommerce-website-shopfinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-raza764%2Fecommerce-website-shopfinity/lists"}