client-surveys-automation / README.md

client-surveys-automation

CSA codebase

Last updated: 4/16/2026GitHubcsa.rihal.dev/CSA

client-surveys-automation

Overview

Problem Statement

Rihal aims to automate the manual processing of client satisfaction surveys for projects by developing a centralized web application. This application will manage the organization's client surveys and facilitate data analysis for customer satisfaction throughout the project journey.

Contribution

Prerequisites

Set up ~/.netrc and ~/.npmrc, Click here for instructions.

Run the following command from the root of the repo:

make run

To stop the containers:

make down

Populate database

To populate data

make populate

To reset database

make reset-db

Testing

To run all tests, from server folder run

go test -cover -p 1 ./...  

To get coverage report, from server folder run

go test -cover -coverprofile=output-test-coverage -p 1 ./...

Then

go tool cover -html=output-test-coverage 

Common Issues

If any problem arises when running the project, the first thing you should do is check the logs:

$ docker-compose logs -f <service-name>

Example:

$ docker-compose logs -f server

Usage:

To use the application using sample users, the following 2 users have been created:

  1. Admin User: Username: admin Password: 1

  2. project_manager User: Username: project_manager Password: 1

  3. user User: Username: user Password: 1