GearCycle is a comprehensive e-commerce application built with the MERN stack (MongoDB, Express, React, Node.js). This application is designed to provide a seamless shopping experience for users, whether they are guests, registered customers, or administrators. The application features a responsive design, ensuring it works well on both desktop and mobile devices.
- Responsive navigation bar
- Conditional rendering of menu items based on user login status
- Sidebar for profile and logout options
- Integration with Redux for state management
- Ant Design for UI components
https://by-cycle-store.vercel.app/
https://by-cycle-store.vercel.app
<https://bi-cycle-backend.vercel.app/api >
https://bi-cycle-backend.vercel.app/api/
<https://github.com/rana-arju/bi-cycle-backend >
https://github.com/rana-arju/bi-cycle-backend
-
Clone the repository:
git clone https://github.com/rana-arju/by-cycle-store.git
-
Go to the project directory:
cd by-cycle-store
-
Install dependencies:
npm install
-
Run the application:
npm run dev
-
Build the application:
npm run build
├── README.md
├── tsconfig.json
├── .env
├── package-lock.json
├── package.json
├── public
│ ├── index.html
│ └── ...
├── src
│ ├── App.tsx
│ ├── index.tsx
│ ├── assets
│ │ └── logo.png
│ ├── components
│ │ ├── Navbar
│ │ │ ├── index.tsx
│ │ │ ├── SecondNavbar.tsx
│ │ │ ├── ProfileSidebar.tsx
│ │ │ └── navbar.css
│ │ ├── layout
│ │ │ ├── MainLayout.tsx
│ │ │ ├── Sidebar.tsx
│ │ │ └── SecondLayout.tsx
│ │ └── ...
│ ├── pages
│ │ ├── HomePage.tsx
│ │ ├── ProfilePage.tsx
│ │ ├── SettingsPage.tsx
│ │ └── LoginPage.tsx
│ ├── redux
│ │ ├── features
│ │ │ └── auth
│ │ │ ├── authSlice.ts
│ │ │ └── ...
│ │ ├── hook.ts
│ │ └── store.ts
│ ├── utils
│ │ ├── VerifyToken.ts
│ │ └── auth.utils.ts
│ └── ...
├── vercel.json
├── eslint.config.mjs
├── .gitignore
├── .prettierrc
└── .prettierigmore
react
: A JavaScript library for building user interfaces.react-dom
: Provides DOM-specific methods that can be used at the top level of your app.react-router-dom
: DOM bindings for React Router.redux
: A Predictable State Container for JS Apps.react-redux
: Official React bindings for Redux.redux-persist
: Persist and rehydrate a redux store.antd
: A design system for enterprise-level products.jsonwebtoken
: JSON Web Token implementation (symmetric and asymmetric).@ant-design/icons
: Official Ant Design icons.sonner
: A toast notification library.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.