Northcoders News API
Welcome to the Northcoders News API. This API project is designed to offer programmable access to application data, emulating the functionality of a real-world backend service similar to Reddit. It enables you to execute various operations related to topics, articles, comments, and users.
To run this project locally, follow these steps:
Create a '.env.development' file and a '.env.test' file in the project root. Open the '.env.development' file and include 'PGDATABASE=nc_news'. Open the '.env.test' file and include 'PGDATABASE=nc_news_test'. Set up the database by running the command 'npm run setup-dbs'. Install project dependencies by running the command 'npm install'. Seed the database by running the command 'npm run seed'. Start the project by running the command 'npm start'. Happy coding!