This a personalized Hacker News Feed that fetch nodejs news. It uses nestjs framework in the backend.
The backend takes the info from this url http://hn.algolia.com/api/v1/search_by_date?query=nodejs every hour, using @nestjs/schedule
, and stores the feed in a mongodb database. The server side defines an API REST using nestjs features.If you run the app for the first time and you want to asure that info was taken from the hacker news site, you can go to the source, and write * * * * *
in the Cron
decorator.
- Clone this repo
- Make sure you have installed docker and docker-compose
- Set your ENV variables in the .env
- Run
sudo docker-compose up --build