-This app contains website for admin and candidate/student/participant.
-Candidate can register himself/herself and give the listed exams and sees the result in end.
If satisfied with the attempt he can submit or he can retake the test in the same attept or
as a new attempt of same exam. But in each attempt will get 10 randonm Questions.
-Admin can login and check the resuts of list of students. Each row in the list is collapseable.
Prerequisites:
1. redis dB - installed in Local/ docker image and running on localhost:6379
2. arango db -installed in local/ docker image and running on localhost:8529 in persistent mode
3. protoc for compiling the grpcproto
Steps to setup:
- start arango run-arango: docker run -e ARANGO_ROOT_PASSWORD=admin -e ARANGO_STORAGE_ENGINE=rocksdb -p 8529:8529 -d -v /home/atyagi/goLangWorkSpAce/src/github.com/atyagi9006/certificationapp/db-service/arango_volume:/var/lib/arangodb3 arangodb
- start redis server for local: redis-server --daemonize yes
- start data-service ~/certificationapp> go run data-service/main.go
- start core-service ~/certificationapp> go run core-service/main.go
- start Portal ~/certificationapp/portal>ng serve --open
- create db as: test-project-db and create collections={ user,candidate,question} in arango
- Upload Questions to question collection by uploading {maths.json, sciencNature.json,history} one by one only once.
- Check core-service logs for admin credentials right after starting core micro-service.