The survey-system is a comprehensive platform designed to streamline the survey creation and analysis process. It serves as a versatile tool for conducting surveys, collecting user responses, offering pre-defined survey templates, recommending questions based on user input, and generating insightful reports.
git clone https://github.com/RAFSoftLab/survey-system
cd survey-system
cd user-service
docker build -t user-service .
cd ..
cd survey-service
docker build -t survey-service .
cd ..
cd target-survey-service
docker build -t target-survey-service .
cd ..
docker-compose up -d
In the docker-compose.yml file, a MySQL service is defined with the latest MySQL image, configured to run on port 3306.
Each service (user-service, target-survey-service, survey-service) is linked to this MySQL service, creating separate databases.
Each service is exposed to its respective port:
Now, you have Docker containers running for your services along with MySQL.
Frontend is not dockerized. Therefore, to run the frontend, you'll need to have Angular and Node.js installed on your machine.
Navigate to your Angular project directory and run the following commands:
cd angular-frontend
npm install
ng serve
Access your Angular frontend at http://localhost:4200 in your web browser.