A React-based questionnaire application that helps users discover their learning preferences using the VARK (Visual, Aural, Read/Write, Kinesthetic) model.
- Frontend: React + Vite application with Material-UI components and Tailwind CSS
- Backend: Node.js Express server for processing survey results
- Components: Modular React components for better maintainability
- Node.js (v16 or higher)
- npm or yarn package manager
-
Clone the repository:
git clone <repository-url> cd vark-survey
-
Install dependencies:
npm install
In one terminal, start the Express server:
node server.jsThe backend will run on http://localhost:3000
In another terminal, start the React development server:
npm run devThe frontend will run on http://localhost:5173
- Ensure both servers are running
- Open your browser to
http://localhost:5173 - Complete the 16-question VARK survey
- Submit to receive your learning style analysis
- Results are saved to
results.csvon the backend
- Material-UI Design: Modern, responsive interface
- Progress Tracking: Visual progress bar and question navigation
- Multiple Selections: Choose multiple answers per question
- Results Analysis: Detailed breakdown of learning preferences
- Data Persistence: Survey results saved to CSV file
- Reset Functionality: Start over at any time
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
POST /submit- Submit survey answers and receive results
- React 18
- Vite
- Material-UI (MUI)
- Express.js
- Node.js