owenhallgren / stretch-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stretch (Pear) API

Installation

1. PostgreSQL Setup

Run the following in terminal

brew install postgresql

brew services start postgresql

psql postgres

CREATE ROLE <username>

ALTER ROLE <username> CREATEDB

\q

psql -d postgres -U <username>

CREATE DATABASE reviews; 

2. Clone the repo

  1. $ git clone git@github.com:owenhallgren/stretch-api.git

  2. $ cd stretch-api

  3. $ npm i

3. Initialize and Run the DB

knex migrate:latest

knex seed: run

cd reviews-express

node server.js

Your all set!

Technologies Used

js

express.js

node.js

psql

npm

About


Languages

Language:JavaScript 100.0%