{"id":20376009,"url":"https://github.com/apostolos-k/ntua-softeng-project","last_synced_at":"2026-04-04T22:32:23.238Z","repository":{"id":152105796,"uuid":"603888835","full_name":"apostolos-k/ntua-softeng-project","owner":"apostolos-k","description":"A project for the Software Engineering course at Ece Ntua 2022-23, in which we implement a smart questionnaire software Rest API and web interface with basic functionalities.","archived":false,"fork":false,"pushed_at":"2023-03-14T17:12:46.000Z","size":1286,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T02:44:08.889Z","etag":null,"topics":["javascript","mongodb","nodejs","ntua-ece","reactjs","rest-api","visual-paradigm"],"latest_commit_sha":null,"homepage":"http://localhost:3000","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apostolos-k.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":"2023-02-19T21:16:11.000Z","updated_at":"2023-03-06T13:26:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6f15ab9-4ce7-42eb-807d-70e1974da5d2","html_url":"https://github.com/apostolos-k/ntua-softeng-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apostolos-k/ntua-softeng-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostolos-k%2Fntua-softeng-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostolos-k%2Fntua-softeng-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostolos-k%2Fntua-softeng-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostolos-k%2Fntua-softeng-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apostolos-k","download_url":"https://codeload.github.com/apostolos-k/ntua-softeng-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostolos-k%2Fntua-softeng-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","mongodb","nodejs","ntua-ece","reactjs","rest-api","visual-paradigm"],"created_at":"2024-11-15T01:34:52.342Z","updated_at":"2026-04-04T22:32:23.195Z","avatar_url":"https://github.com/apostolos-k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# IntelliQ\n\nA project for the Software Engineering course at Ece Ntua 2022-23, in which we implement a smart questionnaire software Rest API and web interface with basic functionalities.\n\n\n\n\n## Contributors\n\n- [Karam Konstantinos](https://github.com/KostasKram)\n- [Kolios Apostolos](https://github.com/apostolos-k)\n\n\n\n## Tech Stack\n\n**Programming Languages:** [Javascript](https://www.javascript.com/)\n\n**Backend Development:** [NodeJS](https://nodejs.org/en/), [ExpressJS](https://expressjs.com/)\n\n**Frontend Development:** [ReactJS](https://reactjs.org/)\n\n**Database:** [MongoDB](https://www.mongodb.com/)\n\n## Installation\n\nClone the project\n\n```bash\n  git clone https://github.com/apostolos-k/ntua-softeng-project.git\n```\n\nGo to the project directory\n\n```bash\n  cd ntua-softeng-project\n```\n\nInstall backend dependencies\n\n```bash\n  cd api-backend\n  npm install\n```\nInstall frontend dependencies\n\n```bash\n  cd ../frontend\n  npm install\n```\n\n## Run Locally\n\nGo to the project directory\n\n```bash\n  cd ntua-softeng-project\n```\n\nStart backend server (https://localhost:9103)\n\n```bash\n  cd api-backend\n  npm start\n```\n\nStart frontend server (http://localhost:3000) on a new terminal window\n\n```bash\n  cd frontend\n  npm start\n```\n\n## Running Tests\n\nTo run tests, run the following commands\n\n```bash\n  cd api-backend\n  npm test\n```\n\n\n## Administartion Endpoints\n\n#### End-to-end connectivity check\n\n```text\n  GET /admin/healthcheck\n```\n\n#### Upload questionnaire to database\n\n```text\n  POST /admin/questionnaire_upd\n```\n\n#### Reset everything in database (questionnaires, answers)\n\n```text\n  POST /admin/resetall\n```\n\n#### Reset answers of a specific questionnaire\n\n```text\n  POST /admin/resetq/:questionnaireID\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n\n## Operational Endpoints\n\n#### View a questionnaire \n\n```text\n  GET /questionnaire/:questionnaireID\n```\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n\n#### View a question\n\n```text\n  GET /question/:questionnaireID/questionID\n```\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire|\n| `questionID`      | `string` | **Required**. ID of question |\n\n#### Submit an answer\n\n```text\n  POST /doanswer/:questionnaireID/:questionID/:session/:optionID\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n| `questionID`      | `string` | **Required**. ID of question |\n| `session`      | `string` | **Required**. User identifier |\n| `optionID`      | `string` | **Required**. ID of answer option |\n\n#### View answers by a session\n\n```text\n  GET /getsessionanswers/:questionnaireID/:session\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n| `session`      | `string` | **Required**. User identifier |\n\n#### View answers by a question\n\n```text\n  GET /getsessionanswers/:questionnaireID/:questionID\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n| `questionID`      | `string` | **Required**. ID of question |\n\n#### Use case: export answers to CSV or JSON\n\n```text\n  GET /exportanswers/:questionnaireID\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `questionnaireID`      | `string` | **Required**. ID of questionnaire |\n\n## Tools Used\n\n- [Visual Studio Code](https://code.visualstudio.com/)\n- [Postman](https://www.postman.com/)\n- [MongoDB Compass](https://www.mongodb.com/products/compass)\n- [Visual Paradigm](https://www.visual-paradigm.com/)\n- [GitHub](https://github.com/)\n\n\n## Info\n\nMore information about specific project sections can be found at their `README.md` located in each folder.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostolos-k%2Fntua-softeng-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapostolos-k%2Fntua-softeng-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostolos-k%2Fntua-softeng-project/lists"}