Code a React app to demo Client-Side Route Params & the useParams
hook.
The finished sandbox might look like this this sandbox
- Create a new React-based project in StackBlitz.
Code a React app to demo Client-Side Route Params & the useParams
hook.
The finished sandbox might look like this this sandbox
Create a new React project in stackblitz.com
<div>
from <App>
Getting started and knowing how to structure the code in an application is one of the most difficult things for students to figure out.
Also, there might be plenty of sources available to learn about how to use a forEach
loop, but finding help on how to think like a developer and write code to implement an app's features is difficult at best.
Sign up at https://neon.tech/.
You get one free "project" which can contain multiple "branches" which can contain multiple databases. Name your project something like "sei" and stick with the default "main" branch.
Typically, logged in users interact with an application that results in data being created, updated and deleted.
In almost every case, the application's code will need to ensure that the logged in user can only update/delete data created by them, not the data of other users.
Example resource: posts
HTTP Method (Verb) |
Path/Endpoint/URI | CRUD Operation | Typical Controller Action |
Has Data Payload |
---|---|---|---|---|
GET | /posts | Read all posts | index | No |
GET | /posts/:id | Read a specific post | show | No |
POST | /posts | Create a new post | create | Yes |
PUT | /posts/:id | Update specified post | update | Yes |
Coders!
Before this morning's Rock-Paper-Scissors code-along and before you begin to code your amazing games for project 1, it's worthwhile to refresh the KEY CONCEPTS of the Guide on How to Build a Browser Game...
The Guide on How to Build a Browser Game is a proven PROCESS that helps students be successful by producing: