Ducky
b497a266f3
Still needs to be worked on |
||
---|---|---|
cmd | ||
db | ||
handler | ||
models | ||
pkg | ||
public | ||
view | ||
.air.toml | ||
.env.example | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
bun.lockb | ||
go.mod | ||
go.sum | ||
main.go | ||
package-lock.json | ||
package.json | ||
tailwind.config.js |
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
thenmake
ormake run
to start the application -
Use
air
during development -
Setup migrations with
make migration table_name
, edit the sql file and runmake up
-
Reset tables with
make reset
ormake down
-
Create new routes in
handlers/
, set them up inmain.go
withrouter.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 withrender(r, w, ComponentName)