Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/iamgkstack/news-app

A simple news web app using news API
https://github.com/iamgkstack/news-app

Last synced: 20 days ago
JSON representation

A simple news web app using news API

Awesome Lists containing this project

README

        

# news-app
A simple news web app using news API

## Requirements

* NODE: `>= 10`

# Setup For Back End in your Local Machine

```bash
# clone the project
git clone https://github.com/iamgkstack/news-app.git && cd back-end

# install the dependencies
npm i

# start the project
npm start

# test
npm test
```

* This starts the server on the port 5200

## APIs availabe

Fetch all the latest news from UK

```curl
curl -X GET http://localhost:5200/api/v1/news
```

# Setup for Front-End in your Local Machine

```bash
# go to front-end directory avialable in root folder(news-app )
cd front-end

# install the dependencies
npm i

# start the project
npm start

# test
npm test
```

* This starts the client app on the port 3000