Skip to content

FaisalFehad/be-nc-news

Repository files navigation

NC-News News API

This is the back-end API for a micro-blogging system, that is build with Express.js

Background

This API is built as a part of the back-end phase of The Developer Pathway course at North Coders. You can access the live API from NC-News-BE and the front end of the application is build with React.js is also on NC-News-FE. Live demo is also accessible via this link

Endpoints:

GET /api/topics
GET /api/users/:username

GET /api/articles/:article_id
PATCH /api/articles/:article_id

POST /api/articles/:article_id/comments
GET /api/articles/:article_id/comments

GET /api/articles

PATCH /api/comments/:comment_id
DELETE /api/comments/:comment_id

Install Locally

To install the application on your local machine.

$ git clone https://github.com/FaisalFehad/be-nc-news
$ cd be-nc-news
$ npm install -D
$ npm run start

TDD

This API has been developed using TDD. To run the tests please do the following

$ cd be-nc-news
$ npm run test
$ npm run test-utils

Libraries

This app has has been developed using the following external libraries

  • Express
  • Axios
  • cors
  • knex
  • supertest
  • Chai
  • Chai-sorted
  • Mocha
  • PSQL

About

Back-end API for micro-blogging system that is built with Express.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11