guanacone / fullstack_app

BSD Zero Clause License
0 stars 0 forks source link

User resource #15

Closed guanacone closed 4 years ago

guanacone commented 4 years ago

I'm planing to implement the frontend for the RESTful user resource as following:

  1. user index page /user will get data from API and display ul, link to each user (client-only-route),
  2. client-only-rout for /user/:id, link to edit and delete user,
  3. new user page /user/new, redirect to /user/:id after successful,
  4. client-only-rout for `user/:id/edit, If I open a PR for each step would that be to much?
edwmurph commented 4 years ago

that plan sounds good and should scale well as the number of users increases. dynamic client only routes are tricky and i haven't implemented this before. it would be good for you to do a little research on the different options for implementing dynamic client only routes first and ideally use a gatsby plugin if it exists and is helpful