Skip to content

Website built using React, Axios, and React Bootstrap simulating a real news portal like CNN, BCC and others

Notifications You must be signed in to change notification settings

nilanarocha/news-portal-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Portal Client

This is The News Portal website. It simulates a real news portal like CNN, BCC and others.

Running the project locally

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.

Tech stack

  1. React JS
  2. React-Bootstrap
  3. Axios

Setup (Front-end)

  1. Clone this repository

  2. Run these commands

    2.1 Install all modules listed as dependencies in `package.json

npm install

2.2 Run local client


npm run start
  1. Open the browser in http://localhost:3000

Deployment

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.

Demo

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.

Screenshots - Front-end

Homepage

News Category Page - World

News Category Page - Entertainment

Authors Page

Author

Nilana Rocha (nilanarocha)

About

Website built using React, Axios, and React Bootstrap simulating a real news portal like CNN, BCC and others

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published