Skip to content

prathambatra/judge-api

 
 

Repository files navigation

JUDGE API SERVER

Greenkeeper badge

CircleCI Build Status codecov

apidocs

Testing

To run mocha-based tests

npm run test

To get coverage report

npm run cover

NOTES

If using a fresh db, seed the languages before testing

npm run build
npm run seedlangs

Requirements

Database (Postgres)

We need a PostgreSQL database to run. Please configure the following env variables -

    DB_NAME='judgeapi',
    DB_USER='judgeapi',
    DB_PASS='judgeapi',
    DB_HOST='localhost'

Queue (RabbitMQ)

brew install rabbitmq
brew services start rabbitmq
rabbitmqctl add_user codingblocks codingblocks
rabbitmqctl set_user_tags codingblocks administrator
rabbitmqctl set_permissions -p / codingblocks conf write read

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.7%
  • JavaScript 4.7%
  • Shell 3.4%
  • Dockerfile 0.2%