Skip to content

rmachaal/News-API-Project

Repository files navigation

News API

Welcome to NewsAPI! This is a RESTful API designed to provide developers access to articles, topics, comments and user data from various news sources.

See /api for a detailed list of each endpoint.

Hosted App

You can access the hosted app here.

Getting Started

To get started with this project, follow these instructions:

  1. Clone the repository:

git clone https://github.com/rmachaal/News-API-Project.git

  1. Install project dependencies:

npm install

  1. Seed the local database:

npm run seed

  1. Execute tests:

npm run test

Environment Setup

To set up the environment, create two .env files: .env.test and .env.development.

In each file add PGDATABASE=, with the correct database name for that environment.

Requirements

This project requires node.js version 10 or higher and PostgreSQL version 8.11.5 or higher (within 8.x series).

About

RESTful API providing articles, topics, comments, and user data from news sources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 23