Basic workflow for git branching:
Create a branch called "my_feature_branch" and change your git to working on that branch:
git checkout -b my_feature_branch
The branch is an exact clone of what master was when you ran the command.
git checkout -b my_feature_branch
The branch is an exact clone of what master was when you ran the command.
const SettingsPage = (props) => {
return (
<>
<h1>SettingsPage</h1>
<Link to="/">Home</Link>
</>
);
Given the JS Object:
const user = { name: "Ira", email: "ira@example.com", favColor: "blue" };
By Ira Herman
Live Video Walkthrough (bonus lesson) recording
================
By Ira Herman
This code challange prompt is modeled after real-world take-home code challenges/prompts many companies use as part of their technical interview process.
This will help you practice/prepare to build a mini-project off of specs, and give you practice/reinforcement using ReactJS with an API back end.
in terminal, run node
then paste in these lines:
require("dotenv").config();
// Connect to mongodb:
require("./config/database");
// Load up our models:
python3 manage.py runserver
createdb
python3 manage.py makemigrations
How to succeed in class:
Let's all agree to:
Example resource: fruits
In I.N.D.U.C.E.S. route order:
URL | HTTP Verb | Action | Notes |
---|---|---|---|
/fruits/ | GET | index | INDEX when a user types localhost:3000/fruits in browser this route shows a list or index of all fruits |
/fruits/new | GET | new | NEW when a user types localhost:3000/fruits/new in browser this route shows the user a form to create a NEW fruit |