Flikart is a project developed for online shopping inspired from ShopEase. It incorporates various technologies and libraries to achieve Html5, css3, React, typescript, redux, tailwindcss
Before getting started, ensure you have Node.js and npm installed on your machine.
# Clone the repository
https://github.com/muhammadshakkeerp/Shopease.git
# Navigate to the project directory
cd ShopEase_clone
# Install dependencies
npm install
To run the development server:
npm run dev
To build the project:
npm run build
To run tests:
npm test
Frontend:
Dev Dependencies:
flikart/
ā
āāā src/
ā āāā components/
ā āāā pages/
ā āāā utils/
ā āāā App.tsx
ā
āāā public/
ā āāā index.html
ā āāā ...
ā
āāā package.json
āāā tsconfig.json
āāā ...
import { lazy } from "react";
const Home = lazy(() => import("../pages/Home"));
const Account = lazy(() => import("../pages/Account"));
const Cart = lazy(() => import("../pages/Cart"));
const ProductsGroup = lazy(() => import("../pages/ProductsGroup"));
const NestedHoverNavlink = lazy(
() => import("../components/NestedHoverNavlink")
);
const ProductGallery = lazy(() => import("../pages/ProductGallery"));
const ProductDatails = lazy(() => import("../components/ProductDetails"));
const Checkout = lazy(() => import("../components/Checkout"));
const PaymentSuccessful = lazy(() => import("../components/PaymentSuccesfull"));
const ChatBot = lazy(() => import("../components/chatbot/ChatBot"));
export {
Home,
Account,
Cart,
ProductsGroup,
NestedHoverNavlink,
ProductGallery,
ProductDatails,
Checkout,
PaymentSuccessful,
ChatBot,
};
// Account section optimization
const AccountDetails = lazy(() => import("../components/AccountDetails"));
const Login = lazy(() => import("../firebase/Login"));
const Profile = lazy(() => import("../components/Profile"));
const Wishlist = lazy(() => import("../components/WishList"));
const Orders = lazy(() => import("../components/Orders"));
const Rewards = lazy(() => import("../components/Rewards"));
export { AccountDetails, Login, Profile, Wishlist, Orders, Rewards };