The northcoders news API is a web service that allows users to interact with articles, topics and other users through a series of GET, POST, DELETE and PATCH requests.
Node: 7.0.1
Postgres: 16.4
- Clone the project with
git clone https://github.com/jeepies/be-nc-news.git
- Move into the directory using
cd be-nc-news
- Install dependencies by running
npm i
- Create two
.env
files,.env
and.env.test
, at the root- These environment files must contain a key called
PGDATABASE
. Refer to the example env
- These environment files must contain a key called
- Run the script to setup databases
npm run setup-dbs
- Seed the databases using
npm run seed
- Run the server with
npm start
This portfolio project was created as part of a Digital Skills Bootcamp in Software Engineering provided by Northcoders