Skip to content

Instantly share code, notes, and snippets.

View MisterC-Rogers's full-sized avatar
🎯
Focusing

Mister C. Rogers MisterC-Rogers

🎯
Focusing
View GitHub Profile
@MisterC-Rogers
MisterC-Rogers / redux-guide.js
Created November 22, 2019 03:34 — forked from vinnihoke/redux-guide.js
Step by Step Redux Guide:
// Step 1: Setup Folders
// Create an actions and a reducers folder. Then add an index.js file in both folders.
// Required dependency installs: axios, redux, react-redux, redux-thunk
************************************************
// Step 2: Create Redux Config File
// @ Root of application create a <config>.js file.
import { createStore } from 'redux';
@MisterC-Rogers
MisterC-Rogers / Setting up an SQL Project
Created August 23, 2019 03:58 — forked from Copterdoctor/Setting up an SQL Project
Setting up an Knex SQLite3 project from scratch
Configuring the setup
1. Setting up the dependices
yarn init -y (Initalises a packag.json with the default values)
yarn add knex sqlite3 (Add knex sqlite module)
yarn add jest --dev (Add jest to dev dependices)
2. Adding scripts to the package.json file