Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View treddson's full-sized avatar

Taylor Short treddson

View GitHub Profile
@treddson
treddson / about.html
Created August 19, 2017 00:51
GossipGhoul created by treddson - https://repl.it/Jxgv/54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="index.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Creepster" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
@treddson
treddson / about.html
Created September 4, 2017 17:05
GossipGhoul created by treddson - https://repl.it/Jxgv/68
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="index.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Creepster" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
@treddson
treddson / about.html
Created September 29, 2017 17:59
GossipGhoul created by treddson - https://repl.it/Jxgv/71
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="index.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Creepster" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
@treddson
treddson / index.css
Created November 18, 2017 23:02
WetIdolizedSeaurchin created by treddson - https://repl.it/@treddson/WetIdolizedSeaurchin
#returnSentence {
display: none;
}
#firstForm {
width: 40%;
}
body {
background-color: #ff9f7a;
@treddson
treddson / index.css
Created November 18, 2017 23:03
WetIdolizedSeaurchin created by treddson - https://repl.it/@treddson/WetIdolizedSeaurchin
#returnSentence {
display: none;
}
#firstForm {
width: 40%;
}
body {
background-color: #ff9f7a;
id | title | author
------+------------------------------------------+---------------------
1259 | Eloquent Ruby | Russell A. Olson
1593 | JavaScript: The Good Parts | Douglas Crockford
8982 | Designing Object-Oriented Software | Rebecca Wirfs-Brock
7265 | Practical Object-Oriented Design in Ruby | Sandi Metz
(4 rows)
const express = require('express');
const app = express();
const cors = require('cors');
const pool = require('./db');
//middleware
app.use(cors());
app.use(express.json())