Skip to content

icodeerror/go-todo-htmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Todo with HTMX

I hate spending time with frontend things. I wanted to improve and broaden my knowledge of Go and HTMX by building this project without having to think about popular framework or library which specializes in frontend, like React, Vue, Svelte etc. demo


This project depends on the following packages

  • pgx - PostgreSQL Driver and Toolkit
  • godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
How to run
  1. Add the following keys to your .env file.
DB_USER
DB_PASSWORD
DB_HOST
DB_PORT
DB_NAME
  1. In project directory, type the following command in the terminal to run it.
go run .

For the external CDN, it uses

Note that this is hobby project and doesn't include testing.

About

An example of Todo web application built in Go with HTMX.

Resources

Stars

Watchers

Forks

Contributors