The React app to collect and display news from CNN and The Newyork Times
- ReactJs for Web app
- create-react-app for Reactjs app boostraping
- redux for state management
- Less for CSS preprocessor
- Docker for deployment
- newsapi client to communicate with newsapi
The app is available on heroku server https://murmuring-taiga-64448.herokuapp.com
If you want to try the app on your local machine, please follow these steps:
-
docker-compose
: If you don't havedocker-compose
on your system, checkout the installation guide from Docker. Note thatdocker-compose
relies on Docker Engine, so maybe you will need to install Docker also. -
You should not have any service running on port
80
on your system as it's where the frontend app exposed.
To boostrap and run the app, navigating to the source code directory and simply run:
docker-compose up
the app should be available on http://localhost
in a short time, after docker-compose
make it's job done by bringing up all the services.
After reviewing the app, you can graceful shutdown all services by running:
docker-compose down --rmi 'all'
If you have any problem on starting the app, please contact me via Skype id: live:dangdphan
.
Thank you for your time!
Dang Dien PHAN