This is the back-end API for a micro-blogging system, that is build with Express.js
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
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
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 startThis 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
This app has has been developed using the following external libraries
- Express
- Axios
- cors
- knex
- supertest
- Chai
- Chai-sorted
- Mocha
- PSQL