#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