This project is a back-end server built using Node.js and Express.js for a forum-based platform.
It provides API endpoints, and makes use of a PostgreSQL database to store and retrieve data.
Clone the repo
git clone https://github.com/elliejaneeeeee/be-nc-news.git
Navigate to the project directory and run:
npm install
Before seeding, create two files with the necessary database connections. 1
.env.development
PGDATABASE=nc_news
.env.test
PGDATABASE=nc_news_test
npm test
Node.js: v21.6.2 or later
PostgreSQl: v14.11 or later
Footnotes
-
Make sure the environment files are added to your .gitignore ↩