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.
Programming Languages: Javascript
Backend Development: NodeJS, ExpressJS
Frontend Development: ReactJS
Database: MongoDB
Clone the project
git clone https://github.com/apostolos-k/ntua-softeng-project.git
Go to the project directory
cd ntua-softeng-project
Install backend dependencies
cd api-backend
npm install
Install frontend dependencies
cd ../frontend
npm install
Go to the project directory
cd ntua-softeng-project
Start backend server (https://localhost:9103)
cd api-backend
npm start
Start frontend server (http://localhost:3000) on a new terminal window
cd frontend
npm start
To run tests, run the following commands
cd api-backend
npm test
GET /admin/healthcheck
POST /admin/questionnaire_upd
POST /admin/resetall
POST /admin/resetq/:questionnaireID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
GET /questionnaire/:questionnaireID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
GET /question/:questionnaireID/questionID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
questionID |
string |
Required. ID of question |
POST /doanswer/:questionnaireID/:questionID/:session/:optionID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
questionID |
string |
Required. ID of question |
session |
string |
Required. User identifier |
optionID |
string |
Required. ID of answer option |
GET /getsessionanswers/:questionnaireID/:session
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
session |
string |
Required. User identifier |
GET /getsessionanswers/:questionnaireID/:questionID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
questionID |
string |
Required. ID of question |
GET /exportanswers/:questionnaireID
Parameter | Type | Description |
---|---|---|
questionnaireID |
string |
Required. ID of questionnaire |
More information about specific project sections can be found at their README.md
located in each folder.