njdaniel / todo

1 stars 0 forks source link

Set up Frontend #2

Open njdaniel opened 2 years ago

njdaniel commented 2 years ago

Is your feature request related to a problem? Please describe. A web application that: a. Uses a popular framework, e.g., Vue, React, Angular, etc. b. Has some form of data entry

Describe the solution you'd like

buffalo routes results:

METHOD PATH ALIASES NAME HANDLER
GET / rootPath todo/actions.HomeHandler
GET /tasks/ tasksPath todo/actions.TasksResource.List
POST /tasks/ tasksPath todo/actions.TasksResource.Create
GET /tasks/{task_id}/ taskPath todo/actions.TasksResource.Show
PUT /tasks/{task_id}/ taskPath todo/actions.TasksResource.Update
DELETE /tasks/{task_id}/ taskPath todo/actions.TasksResource.Destroy

json tags to include for communication with backend

type Task struct { ID uuid.UUID json:"id" db:"id" Description string json:"description" db:"description" Done bool json:"done" db:"done" CreatedAt time.Time json:"created_at" db:"created_at" UpdatedAt time.Time json:"updated_at" db:"updated_at" }

Would like to use Vue.js example use: https://github.com/njdaniel/blueridgeui

Describe alternatives you've considered

https://github.com/njdaniel/todos Notes as a react-redux course that was about that todo project.

Additional context Add any other context or screenshots about the feature request here.

njdaniel commented 2 years ago

todowireframe