A NestJS backend service that provides RSS feed information from various countries and categories.
- Get RSS feeds by country
- Get all RSS feeds (except country-specific ones)
- Get RSS feeds by category
- PostgreSQL database for data persistence
- Docker and Docker Compose setup
- Nginx reverse proxy
- Docker and Docker Compose
- Node.js 18+ (for local development)
- Clone the repository
- Create a
.envfile based on the environment variables indocker-compose.yml - Run the services:
docker-compose up -d-
Get RSS feeds by country:
GET /rss/country?code=US -
Get all RSS feeds (except country-specific):
GET /rss -
Get RSS feeds by category:
GET /rss/category?name=Technology
- Set Env
echo 'DB_PASSWORD={your db password}!' > .env && cat .env-
Install dependencies:
npm install
-
Run in development mode:
npm run start:dev
- Country (id, name, code)
- One-to-many relationship with CountryRss
- CountryRss (id, title, feedUrl, domain)
- Many-to-one relationship with Country
- Category (id, name)
- One-to-many relationship with CategoryRss
- CategoryRss (id, title, feedUrl, domain)
- Many-to-one relationship with Category
MIT