chatapp Tailwind Templates

Chatapp

A chat app using Pocketbase, Templ, HTMX, Alpine.js, and Tailwind CSS

Chat App

Using Pocketbase, Templ, HTMX, Alpine.js, and Tailwind CSS

Installing and running

  • Run git clone https://github.com/charliekim2/chatapp.git
  • cd into the directory
  • To run a server with hot reload:
    • Download Golang via https://go.dev/doc/install

    • Install templ via go install github.com/a-h/templ/cmd/templ@latest

    • Install air via go install github.com/air-verse/air@latest

    • Install the TailwindCSS standalone via https://github.com/tailwindlabs/tailwindcss/releases

      • Rename it to just tailwindcss (.exe) and add it to your PATH
    • Run air to start the server

    • Go to the admin dashboard via localhost:8090/_ and import pb_schema.json

  • Or, if not running via air, make sure to templ generate the template files

Top categories

Loading Svelte Themes