Skip to content

Playing around with NextJs server actions, trying to build a very basic weight tracking application without a single api route having to be written.

Notifications You must be signed in to change notification settings

fillip1984/ab-initio

Repository files navigation

ab-initio

Playing around with NextJs server actions, trying to build a very basic weight tracking application without a single api route having to be written.

Name of repo: https://en.wikipedia.org/wiki/Ab_initio

Goals

  • mobile first UI design
  • ability to set goal
    • useFormStatus to update ui to show mutation is happening, maybe even optomistic update?
  • weigh in crud without rest api
    • create
      • have progress tracked for weigh ins (x lbs lost, to goal, etc)
      • useFormStatus to update ui to show mutation is happening
    • read
      • pagination, maybe grab top 10 and then next button
    • update
      • use gesture such as slide it right to get edit/delete options
    • delete
      • use gesture such as slide it right to get edit/delete options
  • Make form fields typed and validated, like zod/yup/react-hook-form. Need to wait some to see how server actions develop. Right now, I'm using ideas used over on remix forms since it has a similar approach to this idea of server actions

About

Playing around with NextJs server actions, trying to build a very basic weight tracking application without a single api route having to be written.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published