Giter VIP home page Giter VIP logo

news-app's Introduction

News-app⚡

Install

Run application

Development

  • To start the backend server, open your terminal and type npm run start:server in the project directory.

  • To start the frontend, open your terminal and type npm run start:client in the project directory.

Build and run

  • To build the app and run it locally, open your terminal and type docker-compose up in the project directory. (Running docker engine is required)

After that the app will run on port 3000 by default. It can be accessed using this link: http://localhost:3000

Testing (TODO)

Cover the app with unit tests (TODO)

Cover the most intricate parts of the app with integration and e2e tests (TODO)

Possible test cases:

  • Popular news
    • the most popular article should be displayed with its thumbnail and title.
    • all other articles should be displayed with just their title in a list.
    • the list of news articles should be sorted by popularity.
    • the number of articles displayed scales with the window size (??)
  • Hot news
    • The "Hot news" list should display a timeline of the most recently added news items.
    • The "Hot news" list should display the most recently added news item at the top.
  • E2E
    • All news articles in the .csv file should be displayed on the main page and in the "Hot News" section.

news-app's People

Contributors

husdeli avatar

Watchers

 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.