Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| import React, { useReducer, useContext, Dispatch } from "react"; | |
| import "./styles.css"; | |
| // Local types, example: box, product, venue, etc | |
| type MyItem = { | |
| id: number; | |
| name: string; | |
| }; | |
| // Reducer types |
| export const schema = { | |
| "type": "object", | |
| "properties": { | |
| "users": { | |
| "type": "array", | |
| "minItems": 3, | |
| "maxItems": 5, | |
| "items": { | |
| "type": "object", | |
| "properties": { |
| { | |
| "root": true, | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:import/errors", | |
| "plugin:import/warnings" | |
| ], | |
| "parserOptions": { | |
| "ecmaVersion": 7, | |
| "sourceType": "module" |
| { | |
| "name": "javascript-development-environment", | |
| "version": "1.0.0", | |
| "description": "JavaScript development environment Pluralsight course by Cory House", | |
| "scripts": { | |
| }, | |
| "author": "Cory House", | |
| "license": "MIT", | |
| "dependencies": { | |
| "whatwg-fetch": "1.0.0" |