API for the purpose of accessing application data programmatically. To mimic the building of a real world backend service which should provide this information to the front end architecture.
responds with a list of topics
responds with a list of available endpoints
responds with a single article by article_id
responds with a list of articles
responds with a list of comments by article_id
add a comment by article_id
updates an article by article_id
deletes a comment by comment_id
responds with a list of users
allows articles to be filtered and sorted
adds a comment count to the response when retrieving a single article
Node.js v22.4.0
PostgreSQL v16.4
git clone https://github.com/CarmenChapi/NewsCarmen
npm i -D jest
npm install supertest
npm install dotenv
npm install husky
npm install pg
npm install express
npm install nodemon
npm i -D jest-sorted
npm pg-format
node ./db/seeds/run-seed.js
npm test utils
npm test servers
Create in the project dirv22.4.0ectory path 2 files called '.env.development' and '.env.test' and each must contain:
.env.development
.env.test
https://newscarmen.onrender.com/api
This portfolio project was created as part of a Digital Skills Bootcamp in Software Engineering provided by Northcoders