Board to track people from online algorithms judges like UVA Online Judge and COJ.
- NodeJS v7.6.0 or higher for ES2015 and async function support
- MongoDB v3.4.2
-
Clone the repository
$ git clone --depth=1 https://github.com/EsauPR/CodersBoard.git
-
Install the dependencies with npm or yarn
$ npm install
-
Copy the default environment file .env-example and rename it to .env in the root directory, and change the values of the variables if is necessary.
$ cp .env-example .env
-
Generate Application token
$ npm run token
-
Run de app
Development
$ npm run start
Development (with nodemon)
$ npm run develop
Production
Compile the app with babel
$ npm run build
Run the app
$ node dist/index.js
-
Generate de Api documentation
$ npm run docs