/react-project-interview

Course Buy Website built with Vite, ReactπŸ›’ Course Listing: View all available courses. πŸ“‘ Course Details: Learn more about each course. 🧾 Checkout System: Secure and easy checkout for course purchases. πŸ“± Responsive Design: Fully optimized for mobile, tablet, and desktop devices. πŸ”„ Fast Navigation: Using client-side rendering for instant page

Primary LanguageJavaScript

#Course Buy Website πŸ“š This is a modern platform for buying online courses, built using Vite, React, and Tailwind CSS. The project provides a seamless experience for browsing, exploring, and securely purchasing courses.

#πŸ“‹ Table of Contents Demo Features Tech Stack Installation Usage Project Structure Configuration Contributing License Contact #πŸŽ‰ Demo Access the live version of the project here: Course Buy Website

#πŸš€ Features πŸ›’ Browse Courses: Users can view all available courses. πŸ“„ Course Details: Get detailed information about any course. πŸ” Secure Checkout: Add courses to the cart and complete the purchase with ease. πŸ“± Mobile Friendly: The website is fully responsive. πŸŒ™ Dark Mode: Switch between light and dark modes effortlessly. ⚑ Blazing Fast: Instant page navigation with client-side routing. πŸ›  Tech Stack Frontend: Vite + React Styling: Tailwind CSS Routing: React Router State Management: React Hooks (useState, useEffect) Icons: Heroicons Deployment: Vercel / Netlify βš™οΈ Installation Prerequisites Ensure you have Node.js and Yarn installed on your system.

Clone the Repository:

git clone https://github.com/awebcode/react-project-interview.git cd course-buy-website Install Dependencies:

yarn install Run Development Server:

yarn dev Build for Production:

yarn build Preview the Production Build:

yarn preview #πŸš€ Usage After starting the development server, visit http://localhost:5173 in your browser.

Home Page: Browse all courses. Course Details: Click on any course to view more details. Checkout: Add courses to the cart and purchase them. #πŸ“‚ Project Structure graphql Copy code β”œβ”€β”€ public/ # Static assets (images, icons) β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ assets/ # Course images and icons β”‚ β”œβ”€β”€ components/ # Reusable React components (e.g., Header, Footer) β”‚ β”œβ”€β”€ pages/ # Main pages (Home, Course, Checkout) β”‚ β”œβ”€β”€ routes/ # Routing configurations β”‚ β”œβ”€β”€ styles/ # Tailwind CSS styles β”‚ β”œβ”€β”€ App.jsx # Main application component β”‚ └── index.js # Entry point β”œβ”€β”€ .gitignore # Files to ignore in version control β”œβ”€β”€ index.html # Main HTML entry point β”œβ”€β”€ package.json # Project dependencies and scripts β”œβ”€β”€ postcss.config.js # PostCSS configuration β”œβ”€β”€ tailwind.config.js # Tailwind CSS configuration └── README.md # Project documentation πŸ”§ Configuration Tailwind CSS If you want to customize the Tailwind CSS configuration, modify the tailwind.config.js file.

module.exports = { content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}'], theme: { extend: {}, }, plugins: [], } #🀝 Contributing Contributions are welcome! Please follow these steps:

##Fork the repository ###Create a new branch

git checkout -b feature/your-feature-name Commit your changes

git commit -m "Add your message here" Push to the branch

git push origin feature/your-feature-name Open a Pull Request #πŸ“„ License This project is licensed under the MIT License. See the LICENSE file for more information.

#πŸ“§ Contact If you have any questions or suggestions, feel free to reach out!

GitHub: @awebcode Email: asikurrahaman997@.com