8000 GitHub - Remi-dee/Shopme: Shopme is a light weight amazon look like e-commerce website built with Next.js, Tailwind CSS, Hero Icons, and Stripe API for payment integration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shopme is a light weight amazon look like e-commerce website built with Next.js, Tailwind CSS, Hero Icons, and Stripe API for payment integration

License

Notifications You must be signed in to change notification settings

Remi-dee/Shopme

Repository files navigation

Shopme App

Overview

Shopme is a light weight amazon look like e-commerce website that provides users with the ability to explore products, add them to cart, and successfully complete the checkout process. Shopme aims to deliver a seamless shopping experience to users, allowing them to discover and purchase products with ease. Its built with Next.js, Tailwind CSS, Hero Icons, Firebase and Stripe API for payment integration.

Demo

Browse Products & Add to cart

New shopme

Make Payment With Stripe & return orders

Payment shopme

Features

MVP

  • User registration and authentication

  • Browse and search products

  • Add products to the cart

  • Filter products

  • Checkout process with Stripe payment integration

  • Order history and user profile management

Post MVP

  • Manage cart (update quantities, remove items)
  • Product recommendations based on user preferences and browsing history Wishlist functionality
  • Product reviews and ratings

App Flowchart

saveme4

Getting Started

Test Sign in Account

You can use the following test Gmail account to sign in to the app:

Email: testportfolio247@gmail.com Password: testpassword247 Please note that this is a test account, and it is only meant for demonstration purposes. Do not use any personal or sensitive information with this account.

To sign in with the test Gmail account, follow these steps:

Click on the "Sign In" button on the app's homepage and click on "Sign in with google". Enter the provided email (testportfolio247@gmail.com) and password (testportfolio247) in the google sign in form. Click on the "Sign In" button to log in to the app. Please ensure that you do not commit the test account credentials to version control systems like GitHub to avoid exposing the account to the public.

To run the Shopme application locally, follow these steps:

  • Clone the repository to your local machine.

  • Install the required dependencies by running npm install in the project directory.

  • Configure the environment variables for Stripe API integration.

  • Create a .env.local file in the root directory and add the following variables: makefile

  • Copy code NEXT_PUBLIC_STRIPE_API_KEY=<your_stripe_api_key>

  • Replace <your_stripe_api_key> with your own Stripe API key.

  • Start the development server by running npm run dev in the project directory.

  • Open your web browser and navigate to http://localhost:3000 to access the Shopzone app.

Technology Stack

The Shopzone app is built using the following technologies:

  • Next.js: Next.js is a React framework that provides server-side rendering, automatic code splitting, and simple API routes. It allows for efficient development of scalable and optimized web applications.

  • Tailwind CSS: Tailwind CSS is a utility-first CSS framework that provides a set of pre-built CSS classes to rapidly build custom user interfaces. It offers a flexible and responsive design system for creating modern and visually appealing websites.

  • Hero Icons:Hero Icons is a set of free SVG icons designed by Steve Schoger. It provides a comprehensive collection of icons that can be easily customized and used in web projects.

  • Stripe API: Stripe API is a powerful payment processing platform that allows developers to integrate secure and reliable payment functionality into their applications. It provides a wide range of features for handling payments, subscriptions, and more.

  • Firebase Firestore : Firestore is a NoSQL serverless database with real-time notification capability, and together with the Firebase ecosystem it greatly simplifies common app development challenges while letting the application developer focus primarily on their business logic and user experience.

The combination of Next.js, Tailwind CSS, Hero Icons, and Stripe API offers a robust and efficient tech stack for building a high-performance e-commerce application like Shopme.

Folder Structure

The Shopzone repository follows a specific folder structure to organize the codebase effectively:

  • /components: Contains reusable React components used throughout the application.

  • /pages: Contains the Next.js pages that define the different routes and views of the application.

  • /public: Contains static assets, such as images and fonts, that are served by Next.js.

  • /styles: Contains global styles, utility classes, and Tailwind CSS configuration.

  • /lib: Contains utility functions, API clients, and other helper modules.

API Integration

The Shopzone app integrates with the Stripe API to handle payments. The following API endpoints are used:

POST /api/checkout/session: Creates a new Stripe Checkout session for initiating the payment process.

`POST /api/webhooks: a webhook enpoint that connects stripe to firebase fire store

About

Shopme is a light weight amazon look like e-commerce website built with Next.js, Tailwind CSS, Hero Icons, and Stripe API for payment integration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0