Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

topcoder-archive/topcoder-platform-leaderboard-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topcoder Leaderboard API

Dependencies

  • nodejs (v10)
  • Kafka (v2)
  • Mongodb (v4)

Configuration

Configuration for the application is at config/default.js. The following parameters can be set in config files or in env variables:

  • LOG_LEVEL: the log level
  • PORT: the server port
  • MONGODB_URL: Mongo DB URL

Local deployment

  • From the project root directory, run the following command to install the dependencies
npm i
  • To run linters if required
npm run lint

npm run lint:fix # To fix possible lint errors
  • Start the express server
npm start

Heroku Deployment

  • git init
  • git add .
  • git commit -m init
  • heroku create
  • heroku config:set MONGODB_URL=...
  • git push heroku master

Verification

  • Import the collection and environment into your POSTMAN app and check out the endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages