Giter VIP home page Giter VIP logo

nishanthmuruganantham / news-website Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 20.62 MB

This is a simple news website created using Flask. The website fetches the latest news articles from the NDTV API and displays them on the homepage. The project is hosted on Vercel, a cloud platform for serverless deployment

Home Page: https://news19.vercel.app/

Python 1.56% CSS 52.92% JavaScript 18.85% HTML 26.66% Procfile 0.01%
flask flask-api flask-application flask-restapi flask-website flaskrestapi news news-api news-website newsapi python3

news-website's Introduction

News Website

This is a simple news website created using Flask. The website fetches the latest news articles from the NDTV API and displays them on the homepage. The project is hosted on Vercel, a cloud platform for serverless deployment.

Features

  • Latest news articles displayed on the homepage
  • Clicking on a news article takes the user to the full article on the NDTV website

Technologies Used

  • Python
  • Flask
  • HTML/CSS/JavaScript

Hosted on Vercel

This project is hosted on Vercel, a cloud platform for serverless deployment. You can access the live website at https://news19.vercel.app/.

API Used

This project fetches the latest news articles from the NDTV API, which can be found at https://ndtvapi.vercel.app/. The API provides news articles in JSON format.

Getting Started

To run this project on your local machine, follow the steps below:

  1. Clone the repository using the following command:
    $ git clone https://github.com/NishanthMuruganantham/news-website.git
  1. Navigate to the cloned directory:
    $ cd news-website
  1. Install the project dependencies:
    $ pip install -r requirements.txt
  1. Set the Flask environment variables:
    $ export FLASK_APP=app.py
    $ export FLASK_ENV=development
  1. Run the Flask app
    $ python app.py
  1. Open a web browser and go to http://localhost:5000/ to access the website.

Contributing

If you would like to contribute to this project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature/bug fix.
  3. Make your changes and commit them with a descriptive commit message.
  4. Push your changes to your forked repository.
  5. Submit a pull request to the original repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

news-website's People

Contributors

nishanthmuruganantham avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

news-website's Issues

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.