Coder Social home page Coder Social logo

lex847 / react-google-news Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitulmistry/react-google-news

0.0 0.0 0.0 2.37 MB

A simple React front end using the Google News API

License: MIT License

JavaScript 88.01% HTML 1.05% CSS 10.94%

react-google-news's Introduction

React Google News

A simple React front end application using the Google News API.

screenshot

Demo App

Sample application deployed on Heroku: https://react-google-news.herokuapp.com

Application Info

Configured with Node Package Manager, Webpack, and Babel.

Uses webpack-merge to separate development and production builds, but keep common configuration. Also configured for hot reloads in the Express server, so Webpack will rebuild when changes are made.

An Express back end is used to make API requests and protect the API key. Configure API key locally with dotenv. For production, set an environment variable manually (through command line: NODE_ENV=production, API_KEY=...).

Implements Bootstrap via Reactstrap. Makes front end API calls with fetch.

Commands

npm run build - Use Webpack to build for production.

npm run start - Run the Express server via Node.

npm run dev - Build for development and run Express server.

Install Instructions

Node Package Manager (NPM) is used for dependencies. To install the application locally, follow these instructions:

  1. Install Node.js. NPM comes packaged with it.
  2. Run npm install in the command line while in the project directory. It will install dependencies from the package.json file.
  3. To build for development and run the local dev server at http://localhost:5000, run npm run dev. It will run the Node/Express application in the server.js file.

License

This project is open source under the terms of the MIT License.

react-google-news's People

Contributors

mitulmistry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.