Welcome to Yogaflex - the Yoga Class Enrollment App! This application allows users to enroll in yoga classes by filling out a form with their details.
- Form Input Fields: Collects essential information like name, age, email, selected batch, payment information, and the month of enrollment.
- Validation: Validates age input to ensure it falls within the acceptable range of 18 to 65 years.
- Submission: Sends enrollment data securely to a server for processing and displays success or failure alerts accordingly.
- React: Built using React for a dynamic and interactive user interface.
- useState Hook: Manages state within functional components for handling form data.
- Fetch API: Utilizes the Fetch API to send POST requests to a backend server.
- CSS: Styled using CSS for a clean and user-friendly interface.
To use the app locally:
- Clone the repository:
git clone <repository-url>
- Install dependencies:
npm install
- Start the development server:
npm start
- Access the app in your browser at
http://localhost:3000
Alternatively, you can access the hosted version of the app here.