Skip to content

elliejaneeeeee/be-nc-news

Repository files navigation

NC News!

Hosted-version

nc-news

Summary

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.

Setup

Clone

Clone the repo
git clone https://github.com/elliejaneeeeee/be-nc-news.git

Install Dependencies

Navigate to the project directory and run:
npm install

Seed Local Database

Before seeding, create two files with the necessary database connections. 1

.env.development
PGDATABASE=nc_news

.env.test
PGDATABASE=nc_news_test

Run Tests

npm test

Minimum Versions

Node.js: v21.6.2 or later
PostgreSQl: v14.11 or later

Footnotes

  1. Make sure the environment files are added to your .gitignore

About

A solo back-end project for a reddit-style news platform for Northcoders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 23