ducky-dash

command module
v0.0.0-...-b497a26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 12 Imported by: 0

README

Ducky Dash

Taking inspiration from the HTMX + Templ course from anthonyGG, repo for the course.

A dashboard using at current my favourite tools Golang, HTMX, Templ, Bun, Tailwind and Supabase. It's purpose will be infinite in that when I have new ideas that may not be necessary or ready for a side project I can implement the functionality in anyway and plug it into this dashboard.

Todo

  • Finish password-reset flow

    • UI has been updated, must connect with supabase to send pw reset email
  • Create dashboard 'todo/task' component for quickly creating new tasks from the home dashboard

  • Start setting up the tasks view page

  • Add tasks to database

  • Add loading spinner while waiting for signup confirmation

  • Add own email provider to avoid the rate limiting of the supabase platform

  • Pull list of tasks and dynamically generate the TaskListOverview

    • When a new todo is created 'pop' it into the list on the frontend
  • Edit and delete tasks from the frontend

  • Differentiate between users with Auth Roles

  • Create groups and organisations

    • Assign users to groups or organisations
  • Setup a 404 error page

    • Dynamically set the error on the page
  • Add bio, position, status, title, department, location to the UserAccounts model

    • Update components to read from the new model
  • Build out some type of Dashboard components that are modular, take in some type of data and display charts or otherwise on the frontend

    • DB Queries, Server hardware stats, App stats

Setup

  • Run make install then make or make run to start the application

  • Use air during development

  • Setup migrations with make migration table_name, edit the sql file and run make up

  • Reset tables with make reset or make down

  • Create new routes in handlers/, set them up in main.go with router.GET("/path", handler.MakeHandler(NameOfHandler))

  • Create new db queries in db/query.go

  • Create templ components and views in views and render throughout the application, primarily with render(r, w, ComponentName)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
sb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL