The Survey App is a simple web application built with Flask that allows users to participate in surveys and record their responses. It includes features like presenting one question at a time, ensuring users answer each question before proceeding, and displaying the survey results at the end.
- Presentation of surveys one question at a time.
- Users must answer each question before proceeding to the next one.
- Supports multiple types of surveys.
- Stores user responses and displays the survey results at the end.
- Python 3.6 or higher
- Flask (installed as a project dependency)
-
Clone the repository to your local machine:
git clone https://github.com/samiesmilz/survey-app.git
-
Change into the project directory:
cd survey-app
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the project dependencies:
pip install -r requirements.txt
-
Start the application by running the following command:
flask run
-
Open a web browser and navigate to http://localhost:5000 to access the Survey App.
-
Follow the on-screen instructions to participate in a survey.
-
Answer each question and proceed to the next one.
-
At the end of the survey, the application will display a "Thank you for your valuable feedback" message.
Contributions are welcome! If you would like to improve this project or fix issues, please follow these steps:
-
Fork the repository.
-
Create a new branch with a descriptive name:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "Add your message here"
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Create a pull request in the original repository.
-
Your pull request will be reviewed, and once accepted, your changes will be merged.
This project is licensed under the MIT License - see the LICENSE file for details.