Skip to content

nocdn/mcqs-upgrade

Repository files navigation

POST request to add questions in bulk

curl -X POST http://localhost:8787/api/questions/bulk \
  -H "Content-Type: application/json" \
  -d @example_questions_bulk.json

Command to flush redis

docker exec -it mcqs-upgrade-redis-1 redis-cli FLUSHALL

Command to generate answer key

python3 -c "import random,sys;print(' '.join(str(random.randint(1,4))for _ in range(50)))"

About

psychology revision platform. containerised, cached and easily deployable

Resources

Stars

Watchers

Forks

Contributors

Languages