Skip to content

A PostgreSQL database for a simple note-sharing social network.

Notifications You must be signed in to change notification settings

thebinarypenguin/scribblez-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scribblez Database

A PostgreSQL database for a simple note-sharing social network.

Entity Relationship Diagram

Prerequisites

  • Access to a PostgreSQL database

Installation

  1. Install dependencies

    npm install
    
  2. Create knexfile.js

    cp knexfile.example.js knexfile.js
    
  3. Edit connection settings in knexfile.js

  4. Create a symlink to the knex executable (for convience)

    ln -s node_modules/knex/bin/cli.js knex
    
  5. Run migrations

    ./knex migrate:latest
    
  6. Seed database with sample data (optional)

    ./knex seed:run
    

About

A PostgreSQL database for a simple note-sharing social network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published