An open API service indexing awesome lists of open source software.

https://github.com/marianapatcosta/ny-times-news-app

Simple News Web App fetching news data from the New York Times API to list paginated news, and also allows to search and filter by section. Includes unit and end-to-end tests.
https://github.com/marianapatcosta/ny-times-news-app

cypress javascript jest newyorktimes-api responsive-design responsive-web-design scss vue vue-jest vue3 vuex web

Last synced: 3 months ago
JSON representation

Simple News Web App fetching news data from the New York Times API to list paginated news, and also allows to search and filter by section. Includes unit and end-to-end tests.

Awesome Lists containing this project

README

        

# New York Times News App

Simple News Web App fetching news data from the New York Times API. Developed using Vue3 with JavaScript SCSS, Vuex, JEST and Cypress.

![Picture1](https://user-images.githubusercontent.com/43031902/139539130-09de4dd0-6322-413c-9088-4567c88ba97a.png)

## Project setup
```
yarn install
```

Be sure that the following files and renamed and fulfilled with your NY times api key:
- rename `env.example` to `env` and assign your NY times api key to *VUE_APP_NY_TIMES_API_KEY*.
- rename `cypress.env.example.json` to `cypress.env.json` and assign your NY times api key to *nyTimesApiKey*.

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Run your unit tests
```
yarn test:unit
```

### Run your end-to-end tests
```
yarn test:e2e
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).