This is a back-end project demonstrating the MVC format of data querying and abilities in express, error-handling middleware, and pSQL.
To run the successfully connect to the two databases that are created for this project, two files must be created. These are:
.env.test
- to connect to the test database. This must contain PGDATABASE=nc_news_test
.env.development
- to connect to the develoment database. This must contain PGDATABASE=nc_news
Descriptions of endpoints that are available to the api can be found in endpoints.json.