Skip to content

atyagi9006/certificationapp

Repository files navigation

certificationapp

   -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:

  1. 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
  2. start redis server for local: redis-server --daemonize yes
  3. start data-service ~/certificationapp> go run data-service/main.go
  4. start core-service ~/certificationapp> go run core-service/main.go
  5. start Portal ~/certificationapp/portal>ng serve --open
  6. create db as: test-project-db and create collections={ user,candidate,question} in arango
  7. Upload Questions to question collection by uploading {maths.json, sciencNature.json,history} one by one only once.
  8. Check core-service logs for admin credentials right after starting core micro-service.

About

CertificationApp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors