News Project
🔗 Docker compose project
Table of Contents
About
News Project was developed using:
- Docker Compose
- Dokcer
- Python/Django
- Angular
- SQLite3
It retrieves feed from:
- https://it.mashable.com/feed.xml
- https://techcrunch.com/feed/
- https://www.theverge.com/rss/index.xml
Every feed is stored to the database (SQLite3).
These news can be access with an Angular Project.
The project uses a Docker compose with two services:
- angular (front-end)
- api (back-end)
Setup
# Clone the repository
$ https://github.com/rafavolpato/news-project.git
Running
# Enter the project directory
% cd news-project
# create a self signed certificate (localhost+2-key.pem - localhost+2.pem) and move it to nginx/certs/
% openssl req -nodes -x509 -newkey rsa:4096 -keyout localhost+2-key.pem -out localhost+2.pem -sha256 -days 365 -subj '/CN=localhost'
# Run the docker-compose file
% $ dokcer-compose up
Open the browser go on: localhost