Skip to content

This "ECOMMERCE WEB APP BOILERPLATE" is a React-based web application template for building e-commerce platforms. Developed with technologies such as Firebase, JavaScript, HTML5, and styled-components, it leverages state management with Redux and Redux Saga.

Notifications You must be signed in to change notification settings

jayanth-kumar-morem/ecommerce-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


ECOMMERCE-BUILD

β—¦ ECOMMERCE WEB APP BOILERPLATE

β—¦ Developed with the software and tools below.

Demo Demo

Firebase JavaScript HTML5 styledcomponents ReduxSaga Redux React JSON

GitHub license git-last-commit GitHub commit activity GitHub top language

πŸ“– Table of Contents


πŸ“ Overview

The "ECOMMERCE WEB APP BOILERPLATE" is a React-based web application template for building e-commerce platforms. Developed with technologies such as Firebase, JavaScript, HTML5, and styled-components, it leverages state management with Redux and Redux Saga. The project's folder structure is organized with components, pages, and Redux slices. The application includes features like user authentication, shopping cart functionality, and integrates with Firebase for backend services. It follows modern web development practices and utilizes popular tools like React and styled-components for efficient and maintainable code.


πŸ“¦ Features

This boilerplate leverages JavaScript, React, Redux, and Firebase for seamless integration of essential e-commerce functionalities, including user authentication, shopping cart management, and dynamic product displays. With a clean folder structure and styled components, it provides a solid foundation for building modern, scalable e-commerce applications. The use of Redux for state management ensures a robust and maintainable architecture, while Firebase offers a scalable backend for seamless data storage and authentication. Get started quickly with this versatile boilerplate for your e-commerce projects.


πŸ“‚ Repository Structure

└── ecommerce-build/
    β”œβ”€β”€ firebase.json
    β”œβ”€β”€ package-lock.json
    β”œβ”€β”€ package.json
    β”œβ”€β”€ public/
    β”‚   β”œβ”€β”€ index.html
    β”‚   β”œβ”€β”€ manifest.json
    β”‚   └── robots.txt
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ App.css
    β”‚   β”œβ”€β”€ App.js
    β”‚   β”œβ”€β”€ App.test.js
    β”‚   β”œβ”€β”€ components/
    β”‚   β”‚   β”œβ”€β”€ cart-dropdown/
    β”‚   β”‚   β”œβ”€β”€ cart-icon/
    β”‚   β”‚   β”œβ”€β”€ cart-item/
    β”‚   β”‚   β”œβ”€β”€ checkout-item/
    β”‚   β”‚   β”œβ”€β”€ collection-item/
    β”‚   β”‚   β”œβ”€β”€ collection-preview/
    β”‚   β”‚   β”œβ”€β”€ collections-overview/
    β”‚   β”‚   β”œβ”€β”€ custom-button/
    β”‚   β”‚   β”œβ”€β”€ directory/
    β”‚   β”‚   β”œβ”€β”€ form-input/
    β”‚   β”‚   β”œβ”€β”€ header/
    β”‚   β”‚   β”œβ”€β”€ menu-item/
    β”‚   β”‚   β”œβ”€β”€ sign-in/
    β”‚   β”‚   β”œβ”€β”€ sign-up/
    β”‚   β”‚   β”œβ”€β”€ stripe-button/
    β”‚   β”‚   └── with-spinner/
    β”‚   β”œβ”€β”€ firebase/
    β”‚   β”‚   └── firebase.utils.js
    β”‚   β”œβ”€β”€ index.css
    β”‚   β”œβ”€β”€ index.js
    β”‚   β”œβ”€β”€ pages/
    β”‚   β”‚   β”œβ”€β”€ checkout/
    β”‚   β”‚   β”œβ”€β”€ collection/
    β”‚   β”‚   β”œβ”€β”€ homepage/
    β”‚   β”‚   β”œβ”€β”€ product/
    β”‚   β”‚   β”œβ”€β”€ shop/
    β”‚   β”‚   └── sign-in-and-sign-up/
    β”‚   β”œβ”€β”€ redux/
    β”‚   β”‚   β”œβ”€β”€ cart/
    β”‚   β”‚   β”œβ”€β”€ directory/
    β”‚   β”‚   β”œβ”€β”€ root-reducer.js
    β”‚   β”‚   β”œβ”€β”€ shop/
    β”‚   β”‚   β”œβ”€β”€ store.js
    β”‚   β”‚   └── user/
    β”‚   └── serviceWorker.js
    └── yarn.lock

βš™οΈ Modules

Modules
Directory Summary
public Static assets and HTML
β”œβ”€β”€ index.html Main HTML file
β”œβ”€β”€ manifest.json Web App manifest
└── robots.txt Robots.txt file
src Source code
β”œβ”€β”€ App.css Styles for App component
β”œβ”€β”€ App.js Main App component
β”œβ”€β”€ App.test.js Tests for App component
components Reusable UI components
β”‚ β”œβ”€β”€ cart-dropdown/ Cart dropdown component
β”‚ β”œβ”€β”€ cart-icon/ Cart icon component
β”‚ β”œβ”€β”€ cart-item/ Cart item component
β”‚ β”œβ”€β”€ checkout-item/ Checkout item component
β”‚ β”œβ”€β”€ collection-item/ Collection item component
β”‚ β”œβ”€β”€ collection-preview/ Collection preview component
β”‚ β”œβ”€β”€ collections-overview/ Collections overview component
β”‚ β”œβ”€β”€ custom-button/ Custom button component
β”‚ β”œβ”€β”€ directory/ Directory component
β”‚ β”œβ”€β”€ form-input/ Form input component
β”‚ β”œβ”€β”€ header/ Header component
β”‚ β”œβ”€β”€ menu-item/ Menu item component
β”‚ β”œβ”€β”€ sign-in/ Sign-in component
β”‚ β”œβ”€β”€ sign-up/ Sign-up component
β”‚ β”œβ”€β”€ stripe-button/ Stripe button component
β”‚ └── with-spinner/ Higher-order component for displaying spinner
β”œβ”€β”€ firebase/ Firebase-related utilities
β”‚ └── firebase.utils.js Firebase utility functions
β”œβ”€β”€ index.css Global styles
β”œβ”€β”€ index.js Entry point for the app
pages React components for each page/screen
β”‚ β”œβ”€β”€ checkout/ Checkout page component
β”‚ β”œβ”€β”€ collection/ Collection page component
β”‚ β”œβ”€β”€ homepage/ Homepage component
β”‚ β”œβ”€β”€ product/ Product page component
β”‚ β”œβ”€β”€ shop/ Shop page component
β”‚ └── sign-in-and-sign-up/ Sign-in/Sign-up page component
redux Redux state management
β”‚ β”œβ”€β”€ cart/ Cart Redux module
β”‚ β”œβ”€β”€ directory/ Directory Redux module
β”‚ β”œβ”€β”€ root-reducer.js Root reducer combining all reducers
β”‚ β”œβ”€β”€ shop/ Shop Redux module
β”‚ β”œβ”€β”€ store.js Redux store configuration
β”‚ └── user/ User Redux module
β”œβ”€β”€ serviceWorker.js Service Worker for PWA

πŸš€ Getting Started

Dependencies

Please ensure you have the following dependencies installed on your system:

- ℹ️ NodeJS >= 20.x

πŸ”§ Installation

  1. Clone the ecommerce-build repository:
git clone https://github.com/jayanth-kumar-morem/ecommerce-build
  1. Change to the project directory:
cd ecommerce-build
  1. Install the dependencies:
yarn install

πŸ€– Running ecommerce-build

yarn start

πŸ›£ Project Roadmap

  • ℹ️ Implement User Authentication: Set up user authentication using Firebase to allow users to sign in and sign up securely.
  • ℹ️ Shopping Cart Functionality: Implement shopping cart features using Redux for state management, allowing users to add and remove items.
  • ℹ️ Firebase Integration: Integrate Firebase for backend services, including real-time data storage and authentication.
  • ℹ️ Dynamic Product Displays: Create dynamic product displays and pages for showcasing various product categories and details.
  • ℹ️ Redux State Management: Utilize Redux for state management to maintain a consistent and scalable application architecture.
  • ℹ️ Styled Components: Leverage styled-components for efficient and maintainable styling of React components.
  • ℹ️ Clean Folder Structure: Organize the project with a clean and intuitive folder structure, separating components, pages, and Redux slices.

🀝 Contributing

Contributions are welcome! Here are several ways you can contribute:

Contributing Guidelines

Click to expand
  1. Fork the Repository: Start by forking the project repository to your GitHub account.
  2. Clone Locally: Clone the forked repository to your local machine using a Git client.
    git clone <your-forked-repo-url>
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear and concise message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to GitHub: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.

Once your PR is reviewed and approved, it will be merged into the main branch.


πŸ“„ License

This project is protected under the SELECT-A-LICENSE License. For more details, refer to the LICENSE file.


About

This "ECOMMERCE WEB APP BOILERPLATE" is a React-based web application template for building e-commerce platforms. Developed with technologies such as Firebase, JavaScript, HTML5, and styled-components, it leverages state management with Redux and Redux Saga.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages