Skip to content

Timm-D/NC-Portfolio-Project-Backend

Repository files navigation

NorthCoders Backend Project

Solo project for the backend block of the Northcoders remote software development bootcamp

Overview

This repository contains the files required in order to create a database and postgres based API for a website dedicated to reviewing boardgames.

Files included:

  1. Data (test/development)
  2. API utlizing express.js in the format of MVC
  3. Test suites running jest / supertest for endpoints and functions
  4. seed files in order to create a PSQL database

Local Developer Access

  1. Fork and then clone repo

    eg. git clone https://insert repo link here

  2. install npm dependencies


    npm install

    npm init -y

  3. Create .env files in the root directory


    touch .env.test
    touch .env.development

  4. Populate .env files with database names

    (db names can be found in /db/setup.sql)
    .env.test should contain: PGDATABASE=nc_games_test;
    .env.development should contain: PGDATABASE=nc_games;

  5. Seed local databases

    (script can be found in package.json) npm run setupt-dbs

  6. Run testing suites

    npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors