Simple nestJS application to return GitHub top-rated repositories. Your endpoint should have 3 input parameters:
- Date: the date of the ranking. Ex: 2019-02-22
- Language: the programming language that you will filter by
- Limit: The max amount of values your endpoint will return
$ npm install
# run with docker
$ docker-compose up
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ once app is up and running make requests to http://localhost:3000/api/github-ranking?date=2023-08-22&language=Javascript&limit=10 using any parameter of choice
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Nest framework TypeScript starter repository.
- Cache-manager Nest provides a unified API for various cache storage providers. The built-in one is an in-memory data store which I used for this assessment
- Author - Victory Akaniru
Nest is MIT licensed.