Skip to content

Latest commit

Β 

History

History
119 lines (82 loc) Β· 2.31 KB

File metadata and controls

119 lines (82 loc) Β· 2.31 KB
# πŸŽ“ Mini Course Page - Growth-0-Pedia Assignment

This is a **React.js mini project** built as part of the selection round for **Growth-0-Pedia**.  
The app demonstrates component-based development, API integration, and responsive design.

---

## πŸš€ Features

- πŸ“¦ **Course Card Component** with:
  - Course Title
  - Short Description
  - Dynamic Price
  - "Enroll Now" button with success alert

- 🌐 **API Integration**  
  Courses are fetched dynamically from  
  [`https://jsonplaceholder.typicode.com/posts`](https://jsonplaceholder.typicode.com/posts).

- πŸ“± **Responsive Design**  
  Looks good on both **desktop and mobile**.

- 🎨 **Modern UI**  
  Clean layout, shadows, gradient buttons, and smooth hover effects.

- ⚑ **Error & Loading States**  
  Better user experience with proper feedback.

---

## πŸ› οΈ Tech Stack

- **React.js (Vite + SWC)**
- **Axios** for API calls
- **CSS3** for styling & responsiveness

---

## πŸ“‚ Folder Structure

mini-course-page/ │── public/ │── src/ β”‚ β”œβ”€β”€ api/ β”‚ β”‚ β”œβ”€β”€ axiosInstance.js β”‚ β”‚ └── course.js β”‚ β”œβ”€β”€ components/ β”‚ β”‚ └── CourseCard.jsx β”‚ β”œβ”€β”€ pages/ β”‚ β”‚ └── Courses.jsx β”‚ β”œβ”€β”€ styles/ β”‚ β”‚ β”œβ”€β”€ Courses.css β”‚ β”‚ └── CourseCard.css β”‚ β”œβ”€β”€ App.jsx β”‚ └── main.jsx │── .env │── package.json │── vite.config.js

## πŸ“Έ Preview

![Course Page Screenshot](https://github.com/sufyanur-dev/mini-course-page/blob/master/preview.png?raw=true)

---

## βš™οΈ Setup & Installation

1. **Clone the repo**
   ```bash
   git clone https://github.com/sufyanur-dev/mini-course-page.git
   cd mini-course-page
  1. Install dependencies

    npm install
  2. Add environment variable Create .env in root

  3. Run locally

    npm run dev
  4. Build for production

    npm run build

🌍 Live Demo

πŸ”— Deployed on Netlify


πŸ‘¨β€πŸ’» Author

Sufyanur Rasheed πŸ“ Nagpur, India πŸ’Ό Frontend Developer (React.js) πŸ”— LinkedIn: https://linkedin.com/in/sufyanur-rasheed

✨ This project is a demonstration of clean coding practices, responsiveness, and modern UI design.