Backend hosted here.
Frontend hosted here and the repo is here.
This is an API for the retrieving articles, comments, and related information. Check out the link above for full api routes.
Requirements: Node 18+, PostgreSQL 15+
Run the following commands:
git clone https://github.com/orchard0/myserver.gitcd myservernpm inpm run setup-dbsnpm run seednpm test
You will need to create two .env files for your project: .env.test and .env.development.
Into .env.test add PGDATABASE=nc_news_test and into .env.development add PGDATABASE=nc_news.