The Test signer is a service that accepts a set of answers and questions and signs that the user has finished the " test " at this point in time. The signatures are stored and can later be verified by a different service.
- Create a PostgreSQL database;
- Install a migration tool;
- Run migrations:
migrate -database '<db_url>' -path internal/app/infrastructure/migrations up
- Install the project dependencies:
go mod tidy
- Run the server:
SIGN_KEY='your secret' go run main.go -u '<db_url>' -s '<a JWT secret>'