Skip to content

Instantly share code, notes, and snippets.

View RobertDeniszczyc's full-sized avatar

Robert Deniszczyc RobertDeniszczyc

View GitHub Profile
@RobertDeniszczyc
RobertDeniszczyc / feathers-sequelize-tut.js
Last active July 14, 2020 12:43
Feathers-sequelize retrieval of MySQL data
const path = require('path');
const feathers = require('@feathersjs/feathers');
const express = require('@feathersjs/express');
const socketio = require('@feathersjs/socketio');
const Sequelize = require('sequelize');
const service = require('feathers-sequelize');
const sequelize = new Sequelize('featherstutorial', 'databaseUser', 'databasePassword', {
host: 'localhost',
dialect: 'mysql',
@RobertDeniszczyc
RobertDeniszczyc / 0_reuse_code.js
Created June 7, 2014 16:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console