NC news api allows users to access + update a database consisting of articles, comments, users and topics.
This api is available at https://nc-news-ctm3.onrender.com !
Try /api to recieve information about the different endpoints + their functions.
To check it out yourself simply clone down the repo and run:
- "npm i" - to install dependencies
- "npm run setup-dbs" - to create the databases
- create ".env.test" + ".env.development" in the root of the repo and declare PGDATABASE="nc_news_test" & PGDATABASE="nc_news" within them respectively
- "npm run seed" - to seed local databases
- "npm test __tests__/app.tests.js" - to run the tests
Tested/Made using node.js v20.16.0 and PostgreSQL 16.6
This portfolio project was created as part of a Digital Skills Bootcamp in Software Engineering provided by Northcoders