Go to file
Ducky b497a266f3 Add ServerStats component
Still needs to be worked on
2024-04-18 19:17:30 +10:00
cmd Rename job_title to title 2024-04-18 16:28:17 +10:00
db GetAccountById function 2024-04-18 16:28:39 +10:00
handler Pull Account information from the given UUID 2024-04-18 18:22:00 +10:00
models Update account model with Title field 2024-04-18 16:29:08 +10:00
pkg Init commit for issue branch logins 2024-03-30 15:02:27 +10:00
public Add ServerStats component 2024-04-18 19:17:30 +10:00
view Add ServerStats component 2024-04-18 19:17:30 +10:00
.air.toml Init commit 2024-02-21 21:55:17 +10:00
.env.example Create .env.example 2024-02-27 02:02:38 +10:00
.gitignore Update README and .gitignore 2024-04-18 01:49:30 +10:00
LICENSE Setup DB Init, migrations and setup 2024-02-27 03:22:39 +10:00
Makefile Setup DB Init, migrations and setup 2024-02-27 03:22:39 +10:00
README.md Update README and .gitignore 2024-04-18 01:49:30 +10:00
bun.lockb Update dependencies 2024-04-18 16:30:07 +10:00
go.mod Update dependencies 2024-04-18 16:30:07 +10:00
go.sum Update dependencies 2024-04-18 16:30:07 +10:00
main.go Add UserProfile view and component 2024-04-18 18:22:19 +10:00
package-lock.json Update dependencies 2024-04-18 16:30:07 +10:00
package.json Update dependencies 2024-04-18 16:30:07 +10:00
tailwind.config.js Navbar restyling 2024-04-15 22:20:28 +10:00

README.md

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)