t3dotgg / 1app5stacks

Theo built the same app 5 times because he's dumb
MIT License
75 stars 25 forks source link

SQL version, with SQLPage (42 LOC) #18

Open lovasoa opened 6 hours ago

lovasoa commented 6 hours ago

This is a SQL implementation, with 42 lines of SQL (and 93 lines of handlebars HTML templates). So 135 lines total.

I found it quite pleasant to write, but I would love to get your thoughts @t3dotgg :)

❯ cloc .
      10 text files.
      10 unique files.                              
       1 file ignored.

github.com/AlDanial/cloc v 2.02  T=0.01 s (1689.5 files/s, 27707.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Handlebars                       3              5              0             93
SQL                              5              5              1             42
Markdown                         1              4              0              9
Dockerfile                       1              1              0              4
-------------------------------------------------------------------------------
SUM:                            10             15              1            148
-------------------------------------------------------------------------------
vercel[bot] commented 6 hours ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
1app5stacks--go-graphql-spa-version ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 0:50am
vercel[bot] commented 6 hours ago

@lovasoa is attempting to deploy a commit to the Theo's projects Team on Vercel.

A member of the Team first needs to authorize it.