This is The News Portal website. It simulates a real news portal like CNN, BCC and others.
This project depends of news-portal-server to be running in your local environment. So you need to follow the described steps in this link for run that locally.
-
Clone this repository
-
Run these commands
2.1 Install all modules listed as dependencies in `package.json
npm install
2.2 Run local client
npm run start
- Open the browser in http://localhost:3000
This project is using Heroku as deployment environment, which requires a Heroku account and heroku toolbelt installed.
After install Heroku toolbelt locally, check if it's working properly running these commands in your terminal
heroku --version
which heroku
heroku login
Also, make sure the Github branch is up-to-date with your code changes. After that run these commands:
git push origin master
git push heroku master
If you prefer, you can just run ./deploy.sh
.
The demo page is hosted on Heroku you can access on this links https://news-portal-client.herokuapp.com/#/, https://news-portal-server-api.herokuapp.com/authors.
Nilana Rocha (nilanarocha)