Overview
Syllabus
] Overview of what we will build.
] Diagram the Full Stack.
] Setup the client.
] Create a form on the client.
] Listen for form submit on the client.
] Show a loading spinner.
] Setup the server.
] Add a GET / route to the server.
] Add a POST /mews route to the server.
] fetch POST /mews from the client.
] Let's talk about CORS!.
] Add CORS to the server.
] Add Body Parser to the server.
] Validate the body of the request on the server.
] Setup the database connection on the server.
] Insert into the database on the server.
] Log out the created mew on the client.
] Get all mews from the database on the server.
] fetch GET /mews on the client.
] Add all mews to the page on the client.
] Review what we have built.
] Prepare for deployment.
] Deploy Database with mlab.
] Deploy Server with now.sh.
] Deploy Client with now.sh.
Taught by
The Coding Train