Questionnaire Designer
This is a comprehensive tool designed for creating, managing, and analyzing questionnaires. This application provides a user-friendly interface for designing questionnaires, collecting responses, and visualizing data through various types of charts and tables. It's a valuable tool for researchers, educators, and businesses who need to gather and analyze feedback efficiently.
Ensure you have Node.js installed on your machine.
-
Download and Extract the Zip File
-
Navigate to the Client Folder
Open a terminal and go to the
clientfolder:cd clientInstall the dependencies:
npm install
-
Navigate to the Server Folder
Open another terminal and go to the
serverfolder:cd serverInstall the dependencies:
npm install
-
Configure the
.envFileInside the
serverdirectory, locate the.envfile. Open it in a text editor of your choice and provide the necessary values for the following environment variables:MONGO_URL = # Input your MongoDB connection URL JWT_SECRET = # Input JWT Secret Key like a random string of characters # Email server configuration for sending reset password link EMAIL_HOST = # Input the hostname of the email server you are using to send emails EMAIL_PORT = # Input the port number used by the email server EMAIL_USER = # Input the email address used to send the emails EMAIL_PASSWORD = # Input the password for the email address specified in EMAIL_USER.
Replace the placeholder comments with your actual configuration values.
-
Start the Server
In the terminal for the
serverfolder, start the server:npm start
-
Start the Client
In the terminal for the
clientfolder, start the client application:npm run dev
-
Access the Application
Once the client is running, you will see a localhost link in the terminal. You can either click on the link or go to
http://localhost:5173/in your web browser to view the application.
If you encounter any issues, make sure all dependencies are correctly installed and that both the server and client are running without errors.