{"id":21301395,"url":"https://github.com/n-elmer/survey-manager","last_synced_at":"2026-04-10T14:41:13.007Z","repository":{"id":245128985,"uuid":"817254649","full_name":"N-Elmer/SURVEY-MANAGER","owner":"N-Elmer","description":"SURVEY 📊 MANAGEMENT 📈 SYSTEM","archived":false,"fork":false,"pushed_at":"2024-06-19T14:49:34.000Z","size":6569,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T18:31:40.293Z","etag":null,"topics":["artificial-intelligence","css","flask","html","javascript","jupyter-notebook","machine-learning","predictive-modeling","python","reactjs","system-development","vitejs","webapplication"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/N-Elmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-19T10:27:18.000Z","updated_at":"2024-09-02T20:12:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"be135aae-f830-451d-a4d6-ec19bc71fb50","html_url":"https://github.com/N-Elmer/SURVEY-MANAGER","commit_stats":null,"previous_names":["n-elmer/survey-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/N-Elmer/SURVEY-MANAGER","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-Elmer%2FSURVEY-MANAGER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-Elmer%2FSURVEY-MANAGER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-Elmer%2FSURVEY-MANAGER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-Elmer%2FSURVEY-MANAGER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/N-Elmer","download_url":"https://codeload.github.com/N-Elmer/SURVEY-MANAGER/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-Elmer%2FSURVEY-MANAGER/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259823643,"owners_count":22917100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","css","flask","html","javascript","jupyter-notebook","machine-learning","predictive-modeling","python","reactjs","system-development","vitejs","webapplication"],"created_at":"2024-11-21T15:45:45.835Z","updated_at":"2026-04-10T14:41:12.925Z","avatar_url":"https://github.com/N-Elmer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SURVEY-MANAGER\nSURVEY 📊 MANAGEMENT 📈 SYSTEM\n\nSurvey Manager is a web application for creating and managing surveys. It offers a user-friendly interface for non-technical users to easily create surveys, answer questions, and view analytics on the responses.\n\n## Folder Structure\n\n```\n📂 SURVEY-MANAGER\n│\n├── 📄 README.md\n├── 📂 backend\n│   ├── 📂 __pycache__\n│   ├── 📂 instance\n│   ├── 📂 venv\n│   ├── 📄 app.py\n│   ├── 📄 init_db.py\n│   ├── 📄 schema.sql\n│   └── 📄 survey.db\n├── 📂 node_modules\n│   ├── 📂 modules\n│   └── 📄 package-lock.json\n├── 📂 public\n│   ├── 📄 logo.ico\n│   └── 📄 vite.svg\n├── 📂 src\n│   ├── 📂 assets\n│   │   ├── 📄 logo.ico\n│   │   └── 📄 vite.svg\n│   ├── 📂 components\n│   ├── 📂 pages\n│   │   ├── 📄 AnswerQuestions.jsx\n│   │   ├── 📄 Dashboard.jsx\n│   │   ├── 📄 ManageQuestions.jsx\n│   └── 📂 utils\n│       └── 📄 api.js\n├── 📄 App.css\n├── 📄 App.jsx\n├── 📄 index.css\n└── 📄 main.jsx\n```\n\nThe project folder structure consists of the following files and folders:\n\n- **📄 README.md**: This file contains the documentation and information about the Survey Manager application, including how to use it and any additional details.\n\n- **📂 backend**: This folder contains the backend-related files for the Survey Manager application.\n  - **📄 app.py**: This file contains the Flask backend for the Survey Manager application. It handles the API endpoints and database interactions.\n  - **📄 init_db.py**: This file initializes the database schema.\n  - **📄 schema.sql**: This file contains the SQL statements to create the necessary database schema.\n  - **📄 survey.db**: This is the SQLite database file for the Survey Manager application.\n\n- **📂 node_modules**: This folder contains all the npm packages required for the frontend of the application.\n  - **📄 package-lock.json**: This file describes the exact tree that was generated, such that subsequent installs are able to generate identical trees, regardless of intermediate dependency updates.\n\n- **📂 public**: This folder contains the static assets used in the web application.\n  - **📄 logo.ico**: This is the favicon for the application.\n  - **📄 vite.svg**: This is a Vite logo used for development purposes.\n\n- **📂 src**: This folder contains the source code for the frontend of the application.\n  - **📂 assets**: This subfolder contains additional assets used in the application.\n    - **📄 logo.ico**: This is the favicon for the application.\n    - **📄 vite.svg**: This is a Vite logo used for development purposes.\n  - **📂 components**: This subfolder will contain any reusable React components.\n  - **📂 pages**: This subfolder contains the main page components of the application.\n    - **📄 AnswerQuestions.jsx**: This component handles the interface for answering survey questions.\n    - **📄 Dashboard.jsx**: This component displays analytics and visual data of survey responses.\n    - **📄 ManageQuestions.jsx**: This component handles the creation and management of survey questions.\n  - **📂 utils**: This subfolder contains utility functions used across the application.\n    - **📄 api.js**: This file contains functions for making API requests to the backend.\n\n  - **📄 App.css**: This file contains the main CSS styles for the application.\n\n  - **📄 App.jsx**: This file is the main entry point for the React application.\n\n  - **📄 index.css**: This file contains global CSS styles for the application.\n\n  - **📄 main.jsx**: This file is the entry point for the React application and is responsible for rendering the App component.\n\n## Usage\n\nTo use the Survey Manager web application, follow these steps:\n\n1. **Clone or download this project repository.**\n\n2. **Install the required dependencies for the frontend:**\n\n```bash\nnpm install\n```\n\n3. **Install the required dependencies for the backend:**\n\n```bash\npip install -r backend/requirements.txt\n```\n\n4. **Initialize the database:**\n\n```bash\ncd backend\npython init_db.py\n```\n\n5. **Run the backend Flask server:**\n\n```bash\npython app.py\n```\n\n6. **Run the frontend development server:**\n\n```bash\nnpm run dev\n```\n\n7. **Open a web browser and access the Survey Manager web application by navigating to `http://localhost:3000`.**\n\n## Code Explanation\n\nThe Survey Manager web application is implemented using React for the frontend and Flask for the backend. Here's a breakdown of the different components:\n\n- **JavaScript (React)**: The frontend is implemented using React. The components in the `src/pages` folder handle the main functionalities of the application. The `src/utils/api.js` file contains functions for making API requests to the backend.\n\n- **Flask**: The backend is implemented in the `backend/app.py` file. It handles the routing and API endpoints for the application.\n\n- **CSS**: The styles for the application are defined in the `src/App.css` and `src/index.css` files.\n\n## Troubleshooting\n\nIf you encounter any issues or errors while using the Survey Manager web application, consider the following:\n\n- Double-check that all the necessary files and folders are present in the correct locations, as described in the folder structure section.\n\n- Ensure that you have Node.js and npm installed on your system, and the required dependencies are installed by running `npm install`.\n\n- Ensure that you have Python installed on your system, and the required dependencies are installed by running `pip install -r backend/requirements.txt`.\n\n- Verify that the database file `survey.db` is initialized and located in the `backend` folder.\n\n- If you encounter any issues with the backend, check that there are no errors in the `backend/app.py` file and that the required dependencies are installed.\n\nIf the problem persists, feel free to open an issue in the GitHub repository for further assistance.\n\n---\n\nThis README file provides an overview of the Survey Manager web application, its folder structure, usage instructions, code explanation, and troubleshooting tips. Use it as a guide to understand and utilize the Survey Manager app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-elmer%2Fsurvey-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn-elmer%2Fsurvey-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-elmer%2Fsurvey-manager/lists"}