This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i -g json-server | |
json-server --watch db.json -p 4000 | |
// "test": "echo \"Error: no test specified\" && exit 1", | |
// "start": "PORT=4001 nodemon index.js" | |
const items = fetch(' http://localhost:4000/items'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
State | |
One-way data flow | |
Two-way data binding | |
Synthetic events | |
### Ref | |
For taking input from forms | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSR -> Server Side Rendering | |
SPA -> Single Page Application | |
#### SETUP Local Development Server ##### | |
use html boiler plate in ADP | |
-> npm i -g http-server | |
-> http-server | |
-->create-react-app [name of app] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Wave / Toggl to bill | |
Include correct info | |
-date | |
-description of services | |
-payment terms (date, late fees, ect) | |
-GST / Reference number | |
-under 1000$ pay with credit card | |
Save Taxes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Solo Marketing | |
-referals are lifelines | |
-mo clients mo problems | |
-be selective | |
#### Business Development | |
-talk budget | |
-go to events that are attended by people who are my clientelle (small business owners, ect) | |
-prioritize! Reflect on value generated by meetings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!GET WEBSITE FROM ANNIKA DO COURSE | |
##### PREPARE FOR SALARY CONVERSATION ##### | |
1) Understand the market and your value | |
# do your homework # | |
* assess own value (salary.com, payscale) - | |
* determine market salary range (glassdoor, indeed, linkedin) | |
2) Know what is important to you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### Traffic sources | |
-linking | |
-ads working? | |
-where to spend | |
-location | |
###### Site metrics | |
-how many people | |
-how many visits | |
-performace / bandwidth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contact form 7 | |
kint debugger | |
kint php debugger | |
query monitor | |
show current template | |
wp forms lite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET http://fourth.academy.red/wp-json/wp/v2/posts | |
http://fourth.academy.red/: URL of the WP installation | |
/wp-json: the endpoint prefix | |
/wp: the namespace of the WP REST API plugin | |
/v2: the version of the WP REST API plugin | |
/posts: the resource you want to get from the server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://localhost:8888/inhab/wp-json/wp/v2/posts | |
post into postman api | |
options gives schematic for api | |
######### GENERATE NONCE LINK | |
function red_scripts() { | |
$script_url = get_template_directory_uri() . '/scripts.js'; | |
wp_enqueue_script( 'jquery' ); |