/CodeJudge

reimplementing judge again - for the 3rd time lol

Primary LanguageTypeScript

Nest Logo

Description

Nest framework TypeScript - CodeJudge
API Document of this project

Installation

  • Install Redis (download to root dir) then make
  • Make sure the dirname is redis
$ yarn

Running the app

Run Redis first

# Redis server at localhost:6379
$ yarn redis
# development
$ yarn start

# watch mode
$ yarn start:dev

# debug mode ( Not Recommended since we have uploads )
$ yarn start:debug

# production mode
$ yarn start:prod

Test

Don't give it a try. Read To do next section. lol
Too Lazy to make tests

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

TO DO NEXT

  • make tests
  • give admin permission
  • better judge script
  • websocket
  • etc.........

License

Nest is MIT licensed.