Note
IDK if there are better practices working with redis. This is the first time that I work with cache systems I started this project at 12:00 now is 21:52. During this time I had to:
- create the project
- make the logging system with winston
- go to the supermarket
- make my launch
- learn how to use the GitHub api
- learn how to use the most basic commands of redis
- make my dinner
- implement the most basic features
Initially this was just a playground project to practice logging with winston. But since it was implemented quickly I decided to also use this project to practice redis.
Just modify the docker-compose.yaml and add your github token.
Now start the services with
docker compose up -d
Now you can use the unique endpoint of the app /
.
$ pnpm install
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
Nest is MIT licensed.