First off, thank you for considering contributing to Online Shop! It's people like you that make Online Shop such a great tool.
By participating in this project, you are expected to uphold our Code of Conduct. Please report unacceptable behavior to [maintainer's email].
- Fork the repository
- Clone your fork
- Create a new branch:
git checkout -b feature/your-feature-name - Make your changes
- Push to your fork
- Submit a Pull Request
- Node.js (v16 or higher)
- npm or yarn
- Git
Port: 3000- Install dependencies:
npm install
# or
yarn install- Start development server:
npm run dev
# or
yarn devWe follow the Conventional Commits specification:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changesstyle:- Code style changes (formatting, etc)refactor:- Code refactoringtest:- Adding or updating testschore:- Maintenance tasks
Example:
git commit -m "feat: add user authentication system"- Update the README.md with details of changes if needed
- Update the CHANGELOG.md following the existing format
- The PR will be merged once you have the sign-off of at least one maintainer
.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── ROADMAP.md
├── eslint.config.js
├── index.css
├── index.html
├── package-lock.json
├── package.json
├── public
│ ├── OS.svg
│ └── imgs
│ ├── logo.png
│ ├── logo.svg
│ └── placeholder-image.png
├── src
│ ├── App.jsx
│ ├── bootstrap-overrides.scss
│ ├── components
│ │ ├── CartItem.jsx
│ │ ├── DeleteProductModal.jsx
│ │ ├── Footer.jsx
│ │ ├── InProgressToastContent.jsx
│ │ ├── LoadingSpinner.jsx
│ │ ├── Modals
│ │ │ ├── CheckoutModal.jsx
│ │ │ ├── DeleteProductModal.jsx
│ │ │ ├── NewProductModal.jsx
│ │ │ └── UpdateProductModal.jsx
│ │ ├── Navbar.jsx
│ │ ├── ProductItem.jsx
│ │ ├── SearchBar.jsx
│ │ ├── ShoppingCart.jsx
│ │ ├── Store.jsx
│ │ ├── StoreItem.jsx
│ │ ├── ThemeToggle.jsx
│ │ └── UpdateProductModal.jsx
│ ├── context
│ │ ├── NavBarContext.jsx
│ │ ├── ShoppingCartContext.jsx
│ │ ├── ShoppingItemsContext.jsx
│ │ └── ThemeContext.jsx
│ ├── data
│ │ ├── demoProducts.js
│ │ └── productData.js
│ ├── hooks
│ │ └── useLocalStorage.js
│ ├── index.css
│ ├── main.jsx
│ ├── pages
│ │ ├── Admin.jsx
│ │ ├── Checkout.jsx
│ │ ├── Home.jsx
│ │ └── Store.jsx
│ ├── services
│ │ └── db.js
│ └── utilities
│ └── formatCurrency.js
└── vite.config.js
- Join our Discord server
By contributing, you agree that your contributions will be licensed under the same MIT License that covers the project.